benjaminpalko/.opencode/skills/daisyui/components/select.md
2026-08-11 16:25:07 -04:00

594 B

select

Select is used to pick a value from a list of options

select docs

Class names

  • component: select
  • style: select-ghost
  • color: select-neutral, select-primary, select-secondary, select-accent, select-info, select-success, select-warning, select-error
  • size: select-xs, select-sm, select-md, select-lg, select-xl

Syntax

<select class="select {MODIFIER}">
	<option>Option</option>
</select>

Rules

  • {MODIFIER} is optional and can have one of each style/color/size class names