FormsSelect

Open in Create
Search
astronomic.dev

Select

Free

For one choice from a short list in a form, with the kit's control look.

File
Select.astro
Group
Forms
Kind
Static: no JavaScript
Examples
4
import Select from "@astronomic-dev/ui/components/Select.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

One choice

A neighborhood, with an empty first option that means any.

Force state
main.astro

With the kit's list

picker draws the open list in the kit's look where the browser has base-select (Chrome, Edge, Safari). In Firefox the same closed field opens the browser's own list.

picker.astro

Invalid

A required time left empty: the danger edge, and the error under it from the Field.

Mountain Time.

Pick a time for the tour.

Force state
invalid.astro

Disabled

A value the reader cannot change, with a hint that says why.

Set by the listing.

Force state
disabled.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.