Icon.
A consistent lightweight icon component.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
name | IconName | Yes | — | Browse /icons for all available aliases | Name from the unified Lucide alias registry. |
size | number | string | No | 18 | — | Rendered SVG dimensions. |
strokeWidth | number | No | 1.8 | — | SVG stroke thickness. |
aria-label | string | No | — | — | Provide an accessible name for a meaningful icon. |
className | string | No | — | — | CSS class applied to the SVG. |