npm lucide-react 0.376.0
Adding Icon component for external libs

latest releases: 0.482.0, 0.481.0, 0.480.0...
10 months ago

Implementation of the <Icon /> component which makes it easier to create (custom) icons from iconNodes.
This will be useful for external packages like @lucide/lab and more.

Example with lucide-react

import { burger } from '@lucide/lab';
import { Icon } from 'lucide-react';

<Icon iconNode={burger} /> // Renders burger icon

See the docs

Don't miss a new lucide-react release

NewReleases is sending notifications on new releases.