component / backgrounds
PREVIEW READYScan Background
A low-intensity traveling scan plane for active system surfaces.
scan background
INSTALL / SOURCE REGISTRY
Add Scan Background to your project
The command adds the component source and its DesignOS base dependency.
$
pnpm dlx shadcn@latest add https://designos.h4rithd.com/r/scan-background.jsonregistry/default/recipes/scan-background.tsx
import * as React from "react"
import { clsx as cn } from "clsx"
import "@/components/designos/designos.css"
export function ScanBackground({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>) { return <div className={cn("dos-background dos-bg-scan", className)} {...props}>{children}</div> }
Component contract
- Source-owned after installation
- Dark and light theme variables
- Keyboard and visible-focus behavior
- Reduced-motion fallback
- Responsive from 320px upward
- IBM Plex Sans + JetBrains Mono hierarchy