Buy me a coffee

Card

A container with a header, content and footer.

Plain HTML

Installation

npx distill-ui add card

Customizing

Set any of these on the component or on a parent element. See Customizing for how they work.

Custom propertyDefault
--dui-card-spacingvar(--dui-space-6)
--dui-card-radiusvar(--dui-radius-xl)
--dui-card-bgvar(--dui-color-card)
--dui-card-fgvar(--dui-color-card-foreground)
--dui-card-bordercolor-mix(in oklch, var(--dui-color-foreground) 10%, transparent)