Skip to content

Icon

Renders one icon by name from the inline sprite (Lucide, ISC licensed). Needs Icon Sprite included once on the page, which also covers how to add another icon.

  • size: number, in pixels (default 20)
<Icon name="arrow-right" />

Every name currently in the sprite:

arrow-right
arrow-left
arrow-up-right
external-link
chevron-up
chevron-down
chevron-left
chevron-right
x
check
search
copy
menu
mail
layers
star
settings
info
circle-check
triangle-alert
circle-alert
plus
trash-2
pencil
download
upload
share-2
refresh-cw
send
heart
bookmark
log-out
user
eye
more-horizontal
filter
github
book-open