table-filters_skill

This skill analyzes table columns and delivers a unified header filter with adaptive filter components for an optimal filtering UX.
  • TypeScript

17

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill rohunvora/cool-claude-skills --skill table-filters

  • README.md613 B
  • SKILL.md6.2 KB

Overview

This skill designs optimal filtering UX for data tables by analyzing columns and recommending the best filter type for each. It produces a unified filter bar with inline header filters, filter chips, and semantic class names for easy handoff to implementation.

How this skill works

The tool inspects each column’s data pattern (text, fixed set, numeric, date, boolean) and assigns a filter type: contains, checkboxes, range, date range, or toggle. It then lays out a full-width filter bar containing chips, a search input, a clear-all control, and a sort dropdown, while enabling clickable header icons that open contextual filter menus and insert chips.

When to use it

  • Building a data table that needs flexible, discoverable filtering
  • Converting ad-hoc header filters into a unified filter experience
  • Designing for tables with mixed column data types (text, categories, numbers, dates)
  • Creating a reusable filter component set for a design system

Best practices

  • Assign filter type per column based on actual data pattern, not gut feeling
  • Keep the filter field full-width with chips and a search input in a single row
  • Show chips as rounded pills with dark background and light text; include a clear X
  • Limit chip value display to two items and append +N for overflow
  • Place sort control beside the filter bar, not in headers, to reduce clutter
  • Ensure each chip opens its filter menu for quick edits and that menus appear above the bar

Example use cases

  • Product table: Product Name -> contains, Category -> checkboxes, Price -> range, Created -> date range
  • Issue tracker: Title -> contains, Status -> checkboxes, Priority -> checkboxes, Updated -> date range
  • User admin: Name -> contains, Active -> toggle, Age -> range, Role -> checkboxes
  • Inventory grid: SKU -> contains, Quantity -> range, Condition -> checkboxes, Last audited -> date range

FAQ

Chips use a .chip element inside .filter-chips and include data-column and data-filter-type attributes; .chip-remove is the X control.

What if a column has many categorical values?

For fixed sets under ~20 options use checkboxes; for larger cardinality prefer a searchable contains filter or a typeahead selector.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational