FormsFilters

Open in Create
Search
astronomic.dev

Filters

Free

To build your own search filters: a buy or rent switch, a text box, choices and ranges from your fields list, kept in the address bar.

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

Examples

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

  • Static
  • Interactive
  • Framed

The shell

The parts in their order, with no recipe: the switch, the text box, price and rent ranges, beds and baths, the home type as option chips, then Clear and the active-filter chips. Pick a few filters and watch the address bar.

main.astro

Dropdowns

The same fields with dropdown: labels above values, the home type in the row as a dropdown of checkboxes.

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.