AvalaAvala
Book a Demo

Content header pattern

Standard layout for searchable, filterable content indexes with count display, search, view toggle, sort, and filter controls.

Layout

The content header uses a responsive flex layout with the count header on the left and controls on the right.

24 items

Elements

Style nameUse casesClass / ComponentLive pages
Count headerDynamic count display (e.g., "12 roles" or "24 articles") that updates with filters.text-2xl font-normal md:text-3xl
Search inputText input with search icon for filtering content by keywords.rounded-xl border-border/60 bg-background/80
View toggleList/grid view switcher with icon buttons.rounded-xl border-border/60 bg-background/80
Sort dropdownButton with dropdown for sorting options (newest, oldest, A-Z, Z-A).Button variant="outline" size="s"
Filter buttonOpens slide-out filter panel. Shows count badge when filters are active, or SlidersHorizontal icon when inactive.Button variant="outline" size="s"
Control orderSearch → View Toggle → Sort → Filter