2025-11-28 11:06:09 +01:00
|
|
|
# With Lucide lab or custom icons
|
|
|
|
|
|
|
|
|
|
[Lucide lab](https://github.com/lucide-icons/lucide-lab) is a collection of icons that are not part of the Lucide main library.
|
|
|
|
|
|
|
|
|
|
They can be used by using the `Icon` component.
|
|
|
|
|
All props like regular lucide icons can be passed to adjust the icon appearance.
|
|
|
|
|
|
|
|
|
|
## Using the `Icon` component
|
|
|
|
|
|
|
|
|
|
This creates a single icon based on the iconNode passed and renders a Lucide icon component.
|
|
|
|
|
|
|
|
|
|
```jsx
|
2025-11-28 17:22:23 +01:00
|
|
|
import { Icon } from 'lucide-react-native';
|
2025-11-28 11:06:09 +01:00
|
|
|
import { coconut } from '@lucide/lab';
|
|
|
|
|
|
|
|
|
|
const App = () => (
|
|
|
|
|
<Icon iconNode={coconut} />
|
|
|
|
|
);
|
|
|
|
|
```
|