Icon
Installation
Run the following command
npx vibes@latest add icon
Usage
import { Icon } from '@/vibes/soul/primitives/icon';function Usage() { return ( <Icon className="text-contrast-500" name="user" size={32} /> );}
API Reference
IconProps
Prop | Type | Default |
---|---|---|
className | string | |
size | number | 24 |
name* | IconName | |
strokeWidth | number | 1.5 |
Refer to the Lucide docs for a full list of available icons.