Skip to main content
FlowsFiltering & SortingFiltering homes similar to Airbnb
shadcn/ui Flows

Filtering homessimilar toAirbnb

A photo-led results page with a map, and every filter in one long dialog behind a single Filters button. Nothing applies behind the user’s back: the dialog collects choices and its footer button says exactly what they lead to ("Show 7 homes"). Common picks get big shortcut tiles at the top, the long lists fold away at the bottom, and the button in the header keeps a badge with the number of filters on.

Install flow

Step 1 of 7Browse stays

Every screen

The 7 steps in order. Pick one to open it in the preview above.

01Browse staysA grid of photo cards for the search, with a map of prices beside it.
02Pick quick filters and a type of placeThe Filters dialog opens on shortcut tiles and a segmented choice between any type, a room or an entire home.
03Set a price rangeDrag the thumbs or type a minimum and maximum for the whole trip.
04Rooms, amenities and bookingSet at least two bedrooms and turn on Wifi, Kitchen and Self check-in.
05Standout staysPick Guest favorite and open the accessibility features.
06Host languageExpand Host language and tick English.
07Filtered resultsThe dialog closes on the homes that match, with a count badge on the Filters button.

Installation

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Why this flow works

Narrowing a grid of stays from one Filters dialog: quick picks, type of place, a price histogram with a two-thumb range, rooms, amenities, standout stays and host language, with a live count on the button.

The count is the Apply button

The footer button is recomputed on every tick, so its label ("Show 13 homes", "Show 7 homes") tells the user what they will get before they leave the dialog. It also switches its noun with the type of place: places, rooms or homes.

A histogram that explains the price slider

Bars show how many stays of the chosen type of place sit at each price, drawn from the listings themselves, and turn grey outside the chosen range. Amenity ticks leave the shape alone, so it doesn’t jump while the user works down the dialog. The two thumbs and the Minimum and Maximum inputs edit the same values, and the top of the range reads "$1,000+" so the user can leave it open.

Shortcuts first, long lists last

Four large tiles cover the filters most people pick (Pool, Washer, Free parking, Instant Book) and drive the same values as the full amenity and booking lists. Long, rarely used lists (property type, accessibility, host language) fold behind their titles at the end.

One badge, one way out

After the dialog closes, the Filters button carries a dark outline and a count of active filters, the heading says how many homes are left and the map shows only their pins. When nothing matches, the grid is replaced by "No exact matches" with a Remove all filters button.

Step by step

  1. 01

    Browse stays

    A grid of photo cards for the search, with a map of prices beside it.

    Results come first and the filters stay one click away. The heading carries the count, so the effect of filtering is easy to compare later.

  2. 02

    Pick quick filters and a type of place

    The Filters dialog opens on shortcut tiles and a segmented choice between any type, a room or an entire home.

    The most common choices sit above the fold as big targets. Choosing "Entire home" also renames the results from places to homes on the footer button.

  3. 03

    Set a price range

    Drag the thumbs or type a minimum and maximum for the whole trip.

    The histogram shows where prices cluster before the user commits to a number, and the bars outside the range fade so the cut is visible.

  4. 04

    Rooms, amenities and booking

    Set at least two bedrooms and turn on Wifi, Kitchen and Self check-in.

    Counters read as minimums ("2+"), and amenities are independent toggles that all have to match. Show more reveals the less common amenities without crowding the dialog.

  5. 05

    Standout stays

    Pick Guest favorite and open the accessibility features.

    Quality signals get descriptive cards because their names alone don’t explain them. Accessibility needs are long and specific, so they fold away until needed.

  6. 06

    Host language

    Expand Host language and tick English.

    A two-column checkbox list keeps a dozen languages scannable. Hosts who speak any ticked language match, so adding languages widens the results.

  7. 07

    Filtered results

    The dialog closes on the homes that match, with a count badge on the Filters button.

    The badge shows filters are on without listing them, the heading gives the new count and the map keeps only the matching pins. Reopening the dialog shows every choice as it was left.

Built with shadcn/ui and Radix UI

  • Dialog
  • Toggle
  • Toggle Group
  • Collapsible
  • Checkbox
  • Input Group
  • Label
  • Button
  • Avatar
  • Sonner

This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Airbnb is a trademark of its owner; this page is not affiliated with or endorsed by Airbnb.

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.