FormsFilterChoice

Open in Create
Search
astronomic.dev

FilterChoice

Free

For a choice filter: one select, or option chips when several may be picked, such as home types.

File
FilterChoice.astro
Group
Forms
Kind
Interactive: inline script
Examples
3
import FilterChoice from "@astronomic-dev/ui/components/FilterChoice.astro";

Examples

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

  • Static
  • Interactive
  • Framed

One choice

A field without multiple: one native select, its first option meaning any.

Force state
main.astro

Option chips

A field with multiple: one native checkbox per option, drawn as a chip. Check House and Condo to search both.

Home type
Force state
chips.astro

Dropdown

With dropdown: several choices are checkboxes in a Popover, one choice is a Select with picker. The trigger says what is picked, as the server draws it.

dropdown.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.