Simulates prefers-reduced-motion for the demo. Off follows your system setting.
Steps focus through the demo with ] and [. Tab, arrows, and Escape stay native so the component behaves as shipped.
1
A short summary of what changed across your projects, every Monday morning.
A large soft squircle surface, with an optional spotlight that follows the pointer.
npx shadcn@latest add ikislay/pixel-ui/cardimport { Card, CardDescription, CardTitle } from "@/components/ui/card"export function Demo() {return (<Card><CardTitle>Storage</CardTitle><CardDescription>You have used 3.2 GB of 10 GB.</CardDescription></Card>)}
1// Loading…
Options you can pass to customize this component.
CardComponentProps<"div">The surface. Children stack with an even gap.
spotlightbooleanAdds a soft glow that follows the pointer while it is over the card.
CardTitleComponentProps<"h3">The heading inside a card.
CardDescriptionComponentProps<"p">Muted body text under the title.