Card
TheCard component is a versatile container used to group related content. It provides built-in support for shadows, borders, backgrounds (including gradients), and standard padding presets.
Usage
Props
Internal padding. Presets:
xs, sm, md, lg, xl, 2xl.Border radius. Presets:
sm, md, lg, xl, 2xl.Shadow depth:
none, sm, md, lg.Background color. Can be
surface, primary, a hex code, or a linear-gradient(...) string.Whether to show a border.
Whether the card takes up 100% width.
Size preset that affects padding (
sm, md, lg).
