Skip to content
Stylhero 0.8.0
Components

Core

Layout and type

Inputs

Overlays

Navigation

Data display

Charts

Transitions and utilities

Page pieces (landing pages, portfolios, docs)

Icons

Components / Icons

Icons

25 icons from Lucide (ISC license), inlined so the package has no icon dependency. They take every <svg> attribute and use currentColor. For more, use lucide-react directly: Stylhero's components accept any icon element.

import { SearchIcon } from "@stylhero/ui";

Example

Code
import { Button, IconButton, SearchIcon, XIcon } from "@stylhero/ui";

<Button><SearchIcon /> Search</Button>
<IconButton label="Close"><XIcon /></IconButton>

Props

Every <svg> attribute, e.g. className, width and strokeWidth.

Generated from src/icons.tsx. Something wrong or missing? Open an issue.