ピル

フィルタリングやカテゴリ選択のための丸いピル/チップボタン。 アクティブ/非アクティブ状態、リンクまたはボタンの動作に対応しています。

プレビュー & コード

オプション

名前 デフォルト 説明
label * String 必須 Text to display in the pill
active Boolean false Whether the pill is in active/selected state
href String nil Link URL (renders as anchor tag if provided)
data Hash {} Data attributes for the element
class String "" Additional CSS classes to apply

変更履歴 v1.0.0

- Initial release with default and active variants
- Supports both link and button behavior

フルアクセスを取得

このコンポーネントと他のすべてのソースコードをアンロックしましょう。一回のお支払いで永久アクセス。

今すぐアクセスを取得