Displaysrc/components/ui/card.tsx
Card
A flexible container for grouped content and actions.
Preview
Installation
Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.
bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/uiUsage
import { Card } from "@/components/ui/card"
export function Example() {
return <Card>Card</Card>
}API Reference
ExportPurpose
CardComposable part exported by `@/components/ui/card`.