lucide

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

func Icon(name, class string) templ.Component

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL