Skip to Content

Icon

The Icon component renders SVG icons from:

  • Lucide Icons  library.
  • Local SVG files stored in the src/icons directory.

Playground

Props

Examples

Colors

Sizes

Props

Icon

PropTypeDefaultDescription
altstring-Accessible label for the icon.
classNamestring-Additional CSS classes.
colorThemeColor-Sets the color of the icon.
hintHintValue-Optional hint to display on hover.
nameIconName-The name of the icon (e.g., lucide:star).
sizeThemeSize-Sets the size of the icon.

IconText

The IconText component is a wrapper for aligning icons and text.

Examples

SuccessWarningError

See also

Last updated on