Icon

Inline SVG icon from the package-bundled Lucide icon set

View documentation

The whole subset

name is the only prop; every other attribute is forwarded to the <svg>. These 38 icons are all of it — the subset covers package UI affordances and nothing else.

x
check
chevron-down
chevron-up
chevron-left
chevron-right
circle-x
info
alert-triangle
alert-circle
check-circle
arrow-up
arrow-down
arrow-left
arrow-right
ellipsis
copy
eye
eye-off
loader-circle
app-window
code
panel-left
bold
italic
underline
strikethrough
heading-1
heading-2
heading-3
link
list
list-ordered
quote
code-xml
minus
undo-2
redo-2

When to use it, and when not to

Reach for hw:icon for the affordances the package itself draws. For application iconography, compose your own icon component — the subset is not meant to grow into an icon library.

Package affordance → hw:icon

Application icon → your own component

Compose icons through component parts

Components such as Alert own icon layout through an explicit part. Wrap package or third-party graphics in hw:alert.icon instead of assigning package slots manually.

Package icon
The Alert part owns layout while hw:icon provides the graphic.
Your icon, same part
Wrap any icon in hw:alert.icon instead of assigning package slots manually.