Skip to catalog content
Mado UI Open-code components

Source-owned · zero runtime dependencies

block · filter-bar

Filter and action bar

A responsive native search-and-filter form with separate collection actions and normal Tab order.

Install with npx @madojs/ui@latest add filter-bar.

Filter and action bar

Clear
No project filters have been applied.

Composition

  • Wrap a GET form in a labelled search landmark, arrange labelled fields in the fields group, and keep submit/reset or auxiliary actions in their named regions.

Public API

element search / form
Native search landmark and progressively navigable query submission.
class mado-ui-filter-bar / search / form / fields / submit / actions
Responsive filtering composition hooks.

Detected public classes

  • .mado-ui-filter-bar
  • .mado-ui-filter-bar-actions
  • .mado-ui-filter-bar-fields
  • .mado-ui-filter-bar-form
  • .mado-ui-filter-bar-search
  • .mado-ui-filter-bar-submit

Detected public CSS properties

  • --mado-ui-color-text
  • --mado-ui-filter-bar-actions-gap
  • --mado-ui-filter-bar-align
  • --mado-ui-filter-bar-color
  • --mado-ui-filter-bar-field-basis
  • --mado-ui-filter-bar-fields-gap
  • --mado-ui-filter-bar-form-gap
  • --mado-ui-filter-bar-gap
  • --mado-ui-filter-bar-submit-gap
  • --mado-ui-space-1
  • --mado-ui-space-2
  • --mado-ui-space-3

Accessibility contract

  • Every field keeps its native label and name; the search landmark needs a useful accessible name when a page has more than one.
  • Result updates, loading state and applied-filter summaries belong to the consuming application.

Keyboard

  • The recipe adds no composite keyboard model; native interactive descendants keep their browser-defined keys and Tab order.

Focus

  • Focus remains on native links, buttons or controls. Presentational wrappers never become focusable.

Fallback

  • A GET action serializes filters into a shareable URL and remains complete without client-side routing or JavaScript.

Installation graph

Direct dependencies

Resolved install order

Copied source

The CLI resolves each registry source path into the configured project target. Links below point to the exact catalog build tag.