基本的な使い方
バッジ設定
各バッジには、以下のすべてのプロパティが必要です:アイコンオプション
バッジのアイコンには、icon-[lucide--<icon-name>] 形式の Lucide アイコンクラスを使用します。以下はよく使用されるアイコンの一部です:
- ドキュメント:
icon-[lucide--file]またはicon-[lucide--book-open] - GitHub:
icon-[lucide--github] - 外部リンク:
icon-[lucide--external-link] - 情報:
icon-[lucide--info] - ダウンロード:
icon-[lucide--download] - ウェブサイト:
icon-[lucide--globe]
pi pi-file などの PrimeIcons クラスは現時点ではまだ表示されますが、段階的に廃止されています。新しいコードでは使用しないでください。PrimeVue 削除に伴う移行 を参照してください。