Foundations · Icon
SSR NativeAccessibleIcon
Renders the bundled Phosphor icon geometry without a client runtime.
alertarrowRightcheckcopyinfosearchsettingssuccesswarning
Astro
---
import { Icon } from '@charvesta/cetha';
---
<Icon name="settings" label="Settings" size={20} />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
name* | PhosphorIconName | — | Name from the bundled icon set. |
label | string | — | Accessible name when the icon carries meaning. |
size | number | 20 | Rendered width and height. |
class | string | — | Additional classes forwarded to the rendered element. |
Accessibility
Unlabelled icons are hidden from assistive technology; label standalone meaningful icons.