Icon
SVG icon wrapper. Bring your own SVGs; the library does not bundle an icon set.
Basic usage
Spinning
Rotated
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
name* | string | — | Class name (e.g. `"ri-close-line"` for Remix Icon). |
spin | boolean | false | Continuously rotate. |
rotate | union | 0 | Fixed rotation in degrees: 0, 90, 180, 270. |
ariaLabel | string | undefined | Accessible label. When omitted, the icon is treated as decorative. |
