DS nav
Card Component Examples
No props
Default output. Nothing passed except slot content.
Border + shadow
Still surface-2 bg, but with a default border and shadow-3 elevation.
Band + texture
Theme-aware band colour with a grain texture blended on top.
Deep surface
Deepest surface level with strong shadow and very rounded corners.
Accent + halftone
Accent fill with a fine halftone screen overlaid and a strong border.
Default
Default Card
Uses --surface-2 background. No border, no shadow.
With border
Bordered Card
Border via --border-default.
With shadow
Elevated Card
Shadow via --shadow-3.
Custom background
surface-3 + strong border + larger radius
Mix of props.
Accent background
Uses --color-accent-bg — theme-aware accent fill.
Background image overlay
Texture overlay card
Solid fill + image blended on top via ::before.
With footer actions
Feature Announcement
Composable card components styled entirely through design system tokens. Background, border, shadow, and text all respond to light/dark and color themes.
With media
Category
Media Card
Content paragraph inside the card body.
- Feature one
- Feature two