Icon Section
The Icon Section component provides a reusable pattern for iconsection in the interface.
Basic icon section
A simple icon section with three items and supporting content.
Icon section with spacing
Use the gap setting to control spacing between icon section items.
API
| Parameter | Default | Description |
|---|---|---|
|
gap
|
0 | The gap between the items in the icon section. Number between 0-12 |
CSS API
| Variable | Default | Type | Values | Description |
|---|---|---|---|---|
|
--c-iconsection--base
|
var(--base) | range | - | Main unit that drives radius and spacing scales. |
|
--c-iconsection--shadow-color
|
var(--shadow-color) | rgba | - | Shadow Color |
|
--c-iconsection--shadow-amount
|
var(--shadow-amount) | range | - | Multiplier for elevation shadows. 0 = none, 1 = default. |
|
--c-iconsection--border-radius
|
var(--border-radius) | range | - | Border Radius |
|
--c-iconsection--corner-shape
|
var(--corner-shape) | select | square, round, squircle, circular, bevel, scoop | Corner Shape |
|
--c-iconsection--border-width
|
var(--border-width) | range | - | Size |
|
--c-iconsection--color--surface
|
var(--color--surface) | color | - | Surface |
|
--c-iconsection--color--surface-alt
|
var(--color--surface-alt) | color | - | Manual companion token for subtle surface backgrounds. |
|
--c-iconsection--color--surface-border
|
var(--color--surface-border) | color | - | Manual companion token for borders on surface elements. |
|
--c-iconsection--font-size-300
|
var(--font-size-300) | range | - | Two steps above base in the type scale. Equivalent to h5. |