Lucide Icons
Cross-platform compatible SVG-based icons
Installation
yarn add react-native-svg @hanzogui/lucide-icons-2Usage
Use them as regular React components:
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, a superset of the wonderful Feather Icons.
Last updated on