card
vengenceui/cardFreeComponent
vengenceui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by vengenceui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.vengenceui.com/r/card.jsonSource
1import * as React from 'react'23import { cn } from '@/lib/utils'45function Card({ className, ...props }: React.ComponentProps<'div'>) {6 return (7 <div8 data-slot="card"9 className={cn('bg-card text-card-foreground rounded-xl border shadow-sm', className)}10 {...props}11 />12 )13}1415function CardHeader({ className, ...props }: React.ComponentProps<'div'>) {16 return (17 <div18 data-slot="card-header"19 className={cn('flex flex-col gap-1.5 p-6', className)}20 {...props}21 />22 )23}2425function CardTitle({ className, ...props }: React.ComponentProps<'div'>) {26 return (27 <div28 data-slot="card-title"29 className={cn('font-semibold leading-none tracking-tight', className)}30 {...props}31 />32 )33}3435function CardDescription({ className, ...props }: React.ComponentProps<'div'>) {36 return (37 <div38 data-slot="card-description"39 className={cn('text-muted-foreground text-sm', className)}40 {...props}41 />42 )43}4445function CardContent({ className, ...props }: React.ComponentProps<'div'>) {46 return (47 <div48 data-slot="card-content"49 className={cn('p-6 pt-0', className)}50 {...props}51 />52 )53}5455function CardFooter({ className, ...props }: React.ComponentProps<'div'>) {56 return (57 <div58 data-slot="card-footer"59 className={cn('flex items-center p-6 pt-0', className)}60 {...props}61 />62 )63}6465export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
Files it writes
More from vengenceui
All 128 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | vengenceui | Components | Free | 2 deps | |
| agent-bento-gridagent-bento-grid | vengenceui | Components | Free | 1 dep | |
| alertalert | vengenceui | Components | Free | no deps | |
| animated-buttonanimated-button | vengenceui | Components | Free | 1 dep | |
| animated-footeranimated-footer | vengenceui | Components | Free | 2 deps | |
| animated-numberanimated-number | vengenceui | Components | Free | 1 dep | |
| animated-raysanimated-rays | vengenceui | Components | Free | no deps | |
| animated-tooltipanimated-tooltip | vengenceui | Components | Free | 1 dep |
