Icon
Lucide Iconsをラップしたアイコンコンポーネント。
インポート
基本的な使い方
Loading...
サイズ
Loading...
カスタムクラス
Loading...
よく使うアイコン
Loading...
Server Components向け
Server Componentsでアイコンを使う場合はServerIconを使用:
Props
| Prop | Type | Default | Description |
|---|---|---|---|
name* | string | - | Lucide Iconsのアイコン名(例: "Search", "User", "Settings") |
size | 'xs' | 'sm' | 'default' | 'lg' | 'xl' | 'default' | アイコンのサイズ |
className | string | - | 追加のCSSクラス |