Reusable Lucide icon components for common UI symbols.
// Source: https://github.com/fuma-nama/fumadocs | License: MIT | Copyright 2023 Fuma
// Provided via justclaw.it.com; keep this notice with the code.
/**
* @license lucide-react - ISC
*
* All copyright belongs to https://github.com/lucide-icons/lucide, we bundle it as part of library to avoid upstream issues.
*/
import { type ComponentProps, createElement } from 'react';
const defaultAttributes: LucideProps = {
xmlns: 'http://www.w3.org/2000/svg',
width: 24,
height: 24,
viewBox: '0 0 24 24',
fill: 'none',
stroke: 'currentColor',
strokeWidth: 2,
strokeLinecap: 'round',
strokeLinejoin: 'round',
};
type SVGElementType =
| 'circle'
| 'ellipse'
| 'g'
| 'line'
| 'path'
| 'polygon'
| 'polyline'
| 'rect';
export interface LucideProps extends ComponentProps
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key