Add a "Pill Chip Bar" global filter above the dashboard:
- A rounded (16px) card spanning full width with a small UPPERCASE "Category" label.
- One rounded-full chip per category. Selected = solid fill with readable text; unselected = outline with muted text, accent border on hover.
- Multi-select: clicking toggles a chip. A subtle "↺ Reset" text button sits at the far right.
- In Tableau/Power BI: use a horizontal button slicer / parameter actions styled as pills.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Colored title band, segmented date range, removable tags
Prompt specifications
Tailwind / CSS
Restyle the dashboard header as a "Branded Header + Date Toggle":
- Top band in the brand color: small eyebrow label, large display-serif dashboard title on the left.
- Right side of the band: a segmented control for date range (Last 3 mo / Last 6 mo / 12 mo) on a translucent track; active segment inverted.
- Below the band: a "Showing:" row listing active filters as removable tags (× icon), with a "Clear all" link when anything is excluded.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Search, multi-select dropdown and date select in one row
Prompt specifications
Tailwind / CSS
Add a "Compact Toolbar" filter row:
- Single 1px-bordered bar with 8px radius and 8px padding.
- Left: flexible search input with a magnifier icon on a muted background.
- Then: a "Category" dropdown button showing a count badge of selected items; opens a checkbox list popover.
- Then: a date range select with a calendar icon.
- All controls 36px tall, consistent borders, wraps on mobile.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add an "Underline Tabs" category filter:
- A horizontal tab row above the visuals: "All" followed by each category.
- Active tab: 2px brand-color underline and medium-weight text; inactive: muted text, no underline, foreground on hover.
- Single-select; a 1px divider runs under the whole row; scroll horizontally on small screens.
- In BI tools: a single-select button slicer styled as tabs.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Labeled Dropdowns" filter panel:
- A card holding a 2-column grid (1 column on mobile) of dropdowns, each with a small muted label above ("Category", "Period").
- Dropdowns: full width, 36px tall, 1px border, 6px radius, page background fill.
- Default to "All" / "12 mo".
- In Tableau/Power BI: single-value dropdown filters with titles shown.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Checklist with Data Bars" filter:
- Card with an UPPERCASE "Category" header and a "Clear / Select all" text link on the right.
- One row per category: checkbox, name, a tiny 64px data bar showing that category's share of sales, and its value in $k.
- Rows highlight on hover; checkboxes use the accent color.
- Helps users see the size of each option before filtering.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Time Window Slider" date filter:
- Card with "Time window" on the left and the resulting date range (e.g. "May 26 – Oct 26") on the right.
- A full-width range slider from 1 to 12 months, accent-colored thumb and track.
- Tick labels below: "1 mo" left, current selection centered, "12 mo" right.
- In Tableau: a relative-date or integer parameter slider; in Power BI: a "between" or relative date slicer.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Toggle Switches" category filter:
- Card with a 2-column grid of rows; each row shows the category name on the left and an iOS-style switch on the right.
- Switch: 36×20px pill, accent fill when on, muted when off, white 16px knob that slides.
- Use role="switch" with aria-checked for accessibility.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add "Saved View Presets" above the dashboard:
- A row of 4 small cards (2×2 on mobile), each a named preset such as "Everything", "Living plants", "Hard goods", "Last quarter".
- Each card shows the name in medium weight and a muted summary line ("2 categories · 12 mo").
- The active preset gets an accent border and tinted background; clicking applies all its filters at once.
- In BI tools: bookmarks / parameter actions presented as buttons.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Collapsible Filter Drawer":
- A full-width bar labelled "Filters" with a count badge of active filters and a chevron that rotates when open.
- Expanding reveals compact option chips for category and period, plus a "Reset filters" link.
- Collapsed by default to save vertical space, ideal for mobile or dense dashboards.
- In Power BI: a bookmark-toggled slicer panel; in Tableau: a show/hide container button.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.
Add a "Natural-Language Filter" header:
- A sentence in the display font, ~18px: "Show sales for [all categories ▾] over the [last 12 months ▾]".
- The bracketed parts are inline dropdowns styled as highlighted words: tinted secondary background, 2px accent underline, bold text.
- Reads like a question, so non-technical viewers understand what they are looking at.
Filters must apply globally to every visual on the page. Keep all data and calculations unchanged.