Border only. The canonical surface.
One step of elevation over canvas.
Recessed. Code, quotes, wells.
Default hairline surface.
/render stateHairline surface primitive with raised, sunken, and interactive variants.
Cards are bounded content surfaces. Prefer bare sections for page structure and cards only for repeated items, modals, or framed tools.
Border only. The canonical surface.
One step of elevation over canvas.
Recessed. Code, quotes, wells.
Controls update query params directly, so every primitive state can be linked, rendered, and screenshotted deterministically.
Every state maps to the same render route through the `state` query param.
Border only. The canonical surface.
One step of elevation over canvas.
Recessed. Code, quotes, wells.
Default hairline surface.
/render stateBorder only. The canonical surface.
One step of elevation over canvas.
Recessed. Code, quotes, wells.
One step of elevation above canvas.
/render stateBorder only. The canonical surface.
One step of elevation over canvas.
Recessed. Code, quotes, wells.
Recessed surface for code, quotes, and wells.
/render state| Name | Type | Default | Description |
|---|---|---|---|
variant | 'default' | 'raised' | 'sunken' | default | Surface depth treatment. |
interactive | boolean | false | Adds hover affordance for clickable card compositions. |
title | ReactNode | - | Optional compact title. |
description | ReactNode | - | Optional supporting copy. |
children | ReactNode | - | Card content slot. |