Documentation
¶
Overview ¶
Package lucide renders the complete Lucide icon catalog as inline templ components. Icons are decorative; put accessible text on the surrounding control, visibly or with an sr-only element.
Index ¶
Constants ¶
View Source
const Version = "1.34.0"
Version is the bundled Lucide icon catalog version.
Variables ¶
This section is empty.
Functions ¶
func Icon ¶
Icon returns a decorative inline SVG component from the pinned Lucide catalog. Name is a kebab-case Lucide icon name and class must size the icon. Icon panics on an unknown name or an empty class so misspelled and unstyled icons fail during development instead of silently rendering blank space.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.