diff --git a/docs/src/_includes/partials/kitchen-sink/select.njk b/docs/src/_includes/partials/kitchen-sink/select.njk index 937d0aa..26f0bc4 100644 --- a/docs/src/_includes/partials/kitchen-sink/select.njk +++ b/docs/src/_includes/partials/kitchen-sink/select.njk @@ -10,6 +10,29 @@
+ {{ select( + id="select-default", + trigger_attrs={"class": "w-[180px]"}, + selected="blueberry", + items=[ + { + type: "group", + label: "Fruits", + items: [ + { type: "item", label: "Apple", value: "apple" }, + { type: "item", label: "Banana", value: "banana" }, + { type: "item", label: "Blueberry", value: "blueberry" } + ] + }, + { + type: "group", + label: "Grapes", + items: [ + { type: "item", label: "Pineapple", value: "pineapple" } + ] + } + ] + ) }}