# UI Search Filtering

> Implementing fast, client-side search for large documentation sets.

- Skill: `jcorpac/ui-search-filtering` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jcorpac/ui-search-filtering`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jcorpac/ui-search-filtering/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: jcorpac (https://skillmd.com/u/jcorpac)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jcorpac/ui-search-filtering

---


# UI Search & Filtering

With 80+ skills, users need to find exactly what they need in milliseconds.

## Implementation Patterns
- **Index Generation**: Create a JSON index containing titles, tags, and small snippets of every skill.
- **Fuzzy Search**: Use a library like `Fuse.js` or `FlexSearch` for tolerant, high-performance querying.

## Interaction Design
- **Real-time Results**: Trigger search on every keystroke (`input` event).
- **Result Highlight**: Visually highlight the matching terms in the result cards.

## Best Practices
- **Keyboard Navigation**: Allow users to focus and navigate search results using arrow keys and Enter.
- **Zero Results State**: Provide a clear "No skills found" message with suggestions.


