Select

Allows users to pick one value from a range of predefined items.

<.select id="select-single-default-with-icon" class="mx-auto">
  <:icon>
    <.icon name="hero-cog" />
  </:icon>
  <:item>
    Audi
  </:item>
  <:item>
    BMW
  </:item>
  <:item>
    Mercedes
  </:item>
  <:item>
    Toyota
  </:item>
</.select>