Components
Card
A surface container with padding, a border, and a subtle background. The base for most layout compositions.
Installation
terminal
npx shadcn@latest add @wuko/cardUsage
Card is a plain styled <div>: no variants, no compound subcomponents. Wrap your content and customize via className when needed.
Project usage
8.2k of 10k tokens used this week.
components/example.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Tailwind classes merged onto the root div. |
| children | ReactNode | — | Card contents. |
| ...rest | HTMLAttributes<HTMLDivElement> | — | All native div attributes are forwarded to the element. |