Components
icon
Lucide icons.
Displays an icon from the Lucide icon set. The content string is the icon name.
accepts content
Sizing
| Property | Type | Default |
|---|
:full | flag | - |
:fit | flag | - |
:fill | flag | - |
:size | number | - |
Dimensions
| Property | Type | Default |
|---|
:width | any | - |
:height | any | - |
Variants
| Property | Type | Default |
|---|
:primary | flag | - |
:secondary | flag | - |
:ghost | flag | - |
:danger | flag | - |
:success | flag | - |
:warning | flag | - |
:info | flag | - |
Emphasis
| Property | Type | Default |
|---|
:high | flag | - |
:medium | flag | - |
:low | flag | - |
Navigation
| Property | Type | Default |
|---|
:to | target | - |
Content
| Property | Type | Default |
|---|
:name | symbol | - |
Browse all available icons at lucide.dev/icons.