Common set
Subset of the Caustica Design icon names.
Mask icons — host apps serve matching SVGs at /icons/{name}.svg.
Live
<span class="ui-icon ui-icon--send" aria-hidden="true"></span>
<span class="ui-icon ui-icon--edit" aria-label="Edit"></span>
import { Icon } from 'caustica-design/core'
import 'caustica-design/css'
<Icon name="send" />
<Icon name="edit" aria-label="Edit" />
Subset of the Caustica Design icon names.
Pair with .btn-with-icon / .btn-icon.
aria-hidden; add aria-label when the icon is the only name./icons/{name}.svg matching ICON_NAMES.| Class | Description |
|---|---|
.ui-icon |
Mask icon base. |
.ui-icon--{name} |
Icon glyph (e.g. --send, --filter). |
From src/core/Icon.tsx — name must be an IconName.
| Prop | Type | Default | Description |
|---|---|---|---|
name |
IconName |
— | Required icon id from ICON_NAMES. |
className |
string |
— | Merged onto .ui-icon. |
aria-label |
string |
— | If set, aria-hidden is not forced. |