Display <hw:icon>
View examples

Icon

Inline SVG icon from the embedded Lucide subset.

The subset is intentionally small and reserved for package UI affordances such as close buttons, chevrons, status icons, arrows and rich-text toolbar controls. For app-specific icons, compose your own icon component directly, for example <x-lucide-search class="size-4" />.

Usage

BLADE
<hw:icon name="check" />
<hw:icon name="x" class="w-6 h-6" />
<hw:icon name="chevron-down" aria-hidden="true" />

Available Icons

Icon Name
X / Close x
Check check
Chevron Down chevron-down
Chevron Up chevron-up
Chevron Left chevron-left
Chevron Right chevron-right
Circle X circle-x
Info info
Alert Triangle alert-triangle
Alert Circle alert-circle
Check Circle check-circle
Arrow Up arrow-up
Arrow Down arrow-down
Arrow Left arrow-left
Arrow Right arrow-right
Ellipsis ellipsis
Copy copy
Eye eye
Eye Off eye-off
Loader Circle loader-circle
App Window app-window
Code code
Panel Left panel-left
Bold bold
Italic italic
Underline underline
Strikethrough strikethrough
Heading 1 heading-1
Heading 2 heading-2
Heading 3 heading-3
Link link
List list
List Ordered list-ordered
Quote quote
Code XML code-xml
Minus minus
Undo 2 undo-2
Redo 2 redo-2

Props

Prop Type Default Description
name string — Icon identifier (required)

All standard HTML attributes (class, aria-label, etc.) are forwarded to the <svg> element.

Styling hooks

The component exposes stable data-slot hooks for preset and application CSS:

  • data-slot="icon"