filters contains the full catalogue with stable keys, labels and optional active flags. filterChange emits only active filters: update each catalogue item's active flag by key, preserving inactive options, then filter your own data. multi=false keeps at most one active chip; clearable resets all active flags. FilterBar does not query a backend or filter a Table automatically.
These inputs require a model or function, not a checkbox. Edit the same-named field in the Source component and bind it in the template; data already used by this preview appears in the state above.
The application owns the full filter catalogue. filterChange contains active filters only; accept it by updating active flags by key without replacing or removing catalogue entries. An empty payload means no active filters, not an empty catalogue.
Inputs, models and Outputs are extracted from the installed Core package. Named public types link to their definitions. Templates below include executable examples.
Inputs
Configure the component with [property]="value". Your application supplies these values; the component does not replace the state you pass in.
Proposes the complete updated filter array, including active states. Replace filters to accept it.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
This component does not expose content projection or public customization templates.
Public Types
Open a type to inspect its definition and interface fields.
NeuFilterChip.d.ts
import type { NeuFilterChip } from '@neural-ui/core/filter-bar';
// Public declaration (reference only)
export interface NeuFilterChip {
active?: boolean;
key: string;
label: string;
}
Use the supported public tokens listed below. Surrounding layout belongs to your application; validate the result in light and dark modes and narrow containers.
Specific tokens
This component uses shared theme tokens rather than dedicated component hooks.
Shared tokens used
Override these on a local wrapper to affect this example. An override on :root affects other components that use the same token.
Token
Purpose here
Other impact
Default / fallback
--neu-focus-ring
Normal keyboard-focus ring
Shared by other Core consumers; scope the override.