card-demo
pane/card-demoFreeExample
pane publishes no description for this item.
Install it
npx shadcn@latest add https://pane.theui.company/r/card-demo.jsonSource
1import { Button } from "@/components/ui/button";2import {3 Card,4 CardContent,5 CardDescription,6 CardFooter,7 CardHeader,8 CardTitle,9} from "@/components/ui/card";1011export default function CardDemo() {12 return (13 <Card className="w-full max-w-sm">14 <CardHeader>15 <CardTitle>Upgrade to Pro</CardTitle>16 <CardDescription>17 Unlock every component and the full glass engine.18 </CardDescription>19 </CardHeader>20 <CardContent>21 <p className="text-muted-foreground text-sm">22 Billed annually. Cancel anytime from your account settings.23 </p>24 </CardContent>25 <CardFooter className="gap-2">26 <Button className="flex-1">Upgrade</Button>27 <Button className="flex-1">Not now</Button>28 </CardFooter>29 </Card>30 );31}
What it pulls in
Other registry items
Files it writes
More from pane
All 25 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| badge-demobadge-demo | pane | Examples | Free | no deps | |
| button-demobutton-demo | pane | Examples | Free | no deps | |
| dialog-demodialog-demo | pane | Examples | Free | no deps | |
| input-demoinput-demo | pane | Examples | Free | no deps | |
| pane-demopane-demo | pane | Examples | Free | no deps | |
| sheet-demosheet-demo | pane | Examples | Free | no deps | |
| switch-demoswitch-demo | pane | Examples | Free | no deps | |
| tabs-demotabs-demo | pane | Examples | Free | no deps |
