Card
A versatile card component with header, content, footer, and image support
Brook
New
Defining a brook
A small, natural stream of fresh water flowing along a course towards a river, lake, or sea.
npx shadcn@latest add @roiui/cardnpx shadcn@latest add @roiui/card-tailwindanatomy
Component props
Prop
Type
Default
Name
variantDescription
Visual style variant of the card - lift adds hover elevation effects
Type
"default" | "lift"Default
"default"Name
classNameDescription
Additional CSS classes to apply to the card
Type
stringDefault
-
Name
childrenDescription
The content to display inside the card
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the card header
Type
stringDefault
-
Name
childrenDescription
Content for the card header section
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the card title
Type
stringDefault
-
Name
childrenDescription
The title content to display
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the card description
Type
stringDefault
-
Name
childrenDescription
The description content to display
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the card content
Type
stringDefault
-
Name
childrenDescription
The main content of the card
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the card footer
Type
stringDefault
-
Name
childrenDescription
Content for the card footer section
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
srcDescription
The source URL of the image
Type
stringDefault
-
Name
altDescription
Alternative text for the image
Type
stringDefault
-
Name
classNameDescription
Additional CSS classes to apply to the image
Type
stringDefault
-
Name
childrenDescription
Optional content to overlay on the image
Type
ReactNodeDefault
-
Component props
Prop
Type
Default
Name
classNameDescription
Additional CSS classes to apply to the icon container
Type
stringDefault
-
Name
childrenDescription
Icon content (typically an SVG or icon component)
Type
ReactNodeDefault
-
Transactions
Acme Corp.
14:30, July 31, 2025
-$7894
Brook Inc.
11:11, July 31, 2025
$4574
Globex Industries
10:22, July 31, 2025
$27,440
AWS
3:00, July 31, 2025
-$740
Zenith Labs
16:50, July 31, 2025
$14,019
Threshold
Between what we build and what eternally exists standing in quiet contemplation.