Skip to main content
Icons render any lucide icon by name. Pass the icon name in kebab-case and it resolves at render time.

Basic Usage

Sizes

Three size variants control the icon dimensions.

In Context

Icons work inline alongside text and other components.

API Reference

Icon Parameters

str
required
Lucide icon name in kebab-case (e.g., "arrow-right", "circle-alert"). Can be passed as a positional argument. Browse icons at lucide.dev/icons.
str
default:"default"
Icon size: "sm", "default", "lg".
str | None
default:"None"
Additional Tailwind CSS classes.

Protocol Reference

Icon
For the complete protocol schema, see Icon.