@antadesign/anta
    Preparing search index...

    Function SelectFacetedUnreviewed

    • <SelectFaceted> filters a result set by categories called facets. Its trigger opens a facet menu, and each facet opens a control for its value. The available kinds are 'single', 'multiple', 'text', and 'custom'. The value is a Record<facetKey, value>, so values under different facet keys stay distinct.

      Controlled (value + onValueChange) or uncontrolled (defaultValue). There is no a-select-faceted element — this wrapper is the coordinator.

      Requires @antadesign/anta/elements (client-side only).

      Parameters

      Returns any

      <SelectFaceted
      facets={[
      { key: 'assignee', label: 'Assignee', kind: 'multiple', options: people },
      { key: 'owner', label: 'Owner', kind: 'single', options: people },
      { key: 'title', label: 'Title', kind: 'text' },
      ]}
      value={filters}
      onValueChange={setFilters}
      />