Skip to content
Components / Patterns

Collection toolbar

Search, filters and actions for one collection.

@fabrials/ui
Loading state

Installation

  1. Import the control from @fabrials/ui, after setting the app up.

    TypeScript
    import { CollectionToolbar } from "@fabrials/ui";

API reference

Prop / exportTypeDescription
searchReactNodeThe search field.
filtersReactNodeFilters for this collection.
actionsReactNodeActions that apply before a selection.

Behavior

Keep filters next to the collection they change.

Accessibility

Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.