Real estate
Search form
The main search on the home page: Buy or Rent switch, location, type, bedrooms and price. Includes a sidebar version and a simple search bar.
Examples
Hero search (inline)
More filters
See Advanced filters for the full panel to place here.
Fields sit in one row from 992 px and stack on smaller screens. Put it over the hero image with margin-top: -48px or inside a .container.
Sidebar search
Search bar
The simplest option for a small hero or a header.
Segmented control
Also useful for any two to four way switch, such as monthly and yearly pricing.
Classes
| Class | Purpose |
|---|---|
.search-card (+ .search-card--inline) | Card with the search fields. Inline puts them in one row on desktop. |
.search-fields / .search-field | Grid of fields. Each field has a small uppercase label. |
.search-actions | Holds the search button. |
.search-bar | Single rounded bar with icon, input and button. |
.segmented + .segmented-item | Radio buttons styled as a switch. Add .is-block for full width. |
.search-link | Text button for "More filters". |