Files
docs/apps/gui-docs/content/docs/components/lucide-icons.mdx
zeekay a572ed7c00 feat: add gui-docs app for gui.hanzo.ai
Migrated 93 MDX pages from old Tamagui-based site to @hanzo/docs system:
- 13 intro pages (installation, props, styles, themes, etc.)
- 22 core pages (configuration, styled, variants, animations, etc.)
- 48 component pages (button, dialog, select, toast, etc.)
- 14 guide pages (next-js, expo, vite, webpack, metro, etc.)

Zero tamagui references. Uses @hanzo/docs-base-ui + @hanzo/docs-mdx.
2026-03-29 16:47:38 -07:00

36 lines
798 B
Plaintext

---
title: Lucide Icons
description: Cross-platform compatible SVG-based icons
name: lucide-icons
component: LucideIcons
package: lucide-icons
demoName: LucideIcons
---
## Installation
```sh
yarn add react-native-svg @hanzogui/lucide-icons-2
```
## Usage
Use them as regular React components:
```tsx
import { Button } from '@hanzo/gui'
import { Plus } from '@hanzogui/lucide-icons-2'
// Button will automatically pass size/theme to icon
export default () => <Button icon={Plus}>Hello world</Button>
// or you can control it
export default () => <Button icon={<Plus size="$4" />}>Hello world</Button>
```
They accept your tokens/theme keys for color and size.
## Credit
The great [Lucide Icons](https://lucide.dev/), a superset of the wonderful [Feather Icons](https://feathericons.com/).