pick-ui-library
Skill7 starsChanged 6 days agoApache-2.0View on GitHub
Picks one library for a frontend task from a curated list: UI primitives, toasts, OTP inputs, charts, command menus, virtualization, drag and drop, animation, state and styling.
66 other projects use a version of this, 65 of them edited.
Adopted by
Most recently taken up by
- Masih-0x3/agent-skillsedited, first seen Nov 29, 2026
- justincordova/agentsedited, first seen Nov 29, 2026
- alexj11324/Mikkaedited, first seen Nov 29, 2026
- aspectly-labs/Mikkaedited, first seen Nov 29, 2026
- microsoft/frontier-agentic-cobuild-rvasedited, first seen Nov 29, 2026
- microsoft/frontier-ai-starter-kit-rvasedited, first seen Nov 29, 2026
Used with
Projects with it also use explain-interface, variant and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnasX7Skillexplain-interface
Helps you figure out how something was built on the web.
Also in 4 projects that use this
AnasX7Skillvariant
Builds multiple variants of a component you're working on and helps you iterate and pick one.
Also in 4 projects that use this
desktop-commanderSkillextract-design-system
Extract design primitives from a public website and generate starter token files for your project.
Also in 4 projects that use this
- +6 more from AnasX7
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 65
- emilkowalski/skill★ 61k21% same
- emilkowalski/skills★ 57k22% same
- spree/spree★ 16k24% same
- usekaneo/kaneo★ 9.9k24% same
- sanity-io/sanity★ 6.4k22% same
- leepokai/Codync★ 2.5k22% same
- classroomio/classroomio★ 1.8k24% same
- Spikerko/spicy-lyrics★ 76424% same
- termio-sh/termio★ 71024% same
- boraoztunc/skills★ 47322% same
55 more not listed
Wrote their own version · 1
- Aleksandr-Litvinenko/ladny-interface★ 6same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository83 other files it gives its agents.
- alignmentSkill
- animate-expoSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- apple-designSkill
- ask-sonnerSkill
- auditSkill
- avatarSkill
- blank-pageSkill
- break-uiSkill
- colorSkill
- copySkill
- deconstructSkill
- defaultsSkill
- design-routerSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- framesSkill
- gatherSkill
- iconsSkill
- improve-animationsSkill
- keyboardSkill
- labSkill
- matchSkill
- mobile-nativeSkill
- motionSkill
- proseSkill
- remove-animationsSkill
- restraintSkill
- reuseSkill
- review-animationsSkill
- ruleSkill
- scopeSkill
- sketchbookSkill
- stageshowSkill
- verifySkill
- viewportsSkill
- web-design-guidelinesSkill
- write-swiftSkill
- audit-issueSkill
- best-practicesSkill
- codebase-designSkill
- code-reviewSkill
- dependency-update-loopSkill
- deploy-verify-loopSkill
- designing-loopsSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grill-with-docsSkill
- implementSkill
- improve-codebase-architectureSkill
- latest-docsSkill
- prototypeSkill
- researchSkill
- resolving-merge-conflictsSkill
- setup-skillsSkill
- stacked-pr-loopSkill
- tddSkill
- to-conformanceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 65 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Read
package.json: If the project already has a listed library, use it. - Distinctive: line 45
Use motion for springs, layout animations, exit animations, and gesture-driven values.
- Distinctive: line 54
Use Liveline when points arrive live and the chart scrolls with time.
- Distinctive: line 72
Use clsx for ad hoc conditional classes.
“Common” is measured: kept by at least 6 in 10 of the 65 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pick UI Library
Match the task to the list below and recommend one library. The list is a deliberate set of picks, so stay inside it unless the user asks for an alternative or the task is not covered.
Steps
- Name the task, not the library the user mentioned. "I need to show a dropdown" is a UI primitives task, whatever library came up in the question.
- Read
package.json. If the project already has a listed library, use it. If it has a competitor (for example react-window where the list says Virtuoso), mention the pick and leave the dependency alone unless the user asks to switch. - Recommend one library with one sentence on what it does. Install and wire it when the request includes that.
- When the list does not cover the task, say so, then recommend from your own knowledge.
The list
UI components and primitives
| Task | Library |
| Unstyled, accessible components: dialogs, popovers, menus, selects | base-ui |
| Command menus (Cmd+K palettes) | cmdk |
| Toasts and notifications | Sonner. See ask-sonner |
| One-time password and verification code inputs | input-otp |
| Control panels for tuning values | Leva. dialkit is the alternative |
Motion and visuals
| Task | Library |
| General animation: springs, layout animations, enter and exit | motion (Framer Motion) |
| Animated numbers: counters, prices, stats | NumberFlow |
| Animated text | torph |
| 3D globes | Cobe |
| Dynamic OG images from HTML and CSS | Satori |
| Syntax highlighting | shiki |
Use motion for springs, layout animations, exit animations, and gesture-driven values. A plain hover or fade needs only a CSS transition.
Charts
Use Liveline when points arrive live and the chart scrolls with time.
Interaction and performance
State and styling
| Task | Library |
| State management | zustand |
Conditional className strings | clsx |
| Typed variants for Tailwind components | cva |
| Theme switching with no flash on load | next-themes |
Use clsx for ad hoc conditional classes. Use cva when a component has real variants, such as size, intent, or state, that deserve a typed API. cva accepts clsx-style inputs, so the two compose.
Mismatches to catch
| You find | Recommend |
| Toasts built by hand or with a modal library | Sonner |
A <div> dropdown or dialog with manual focus handling | base-ui, which handles accessibility, focus trapping, and dismissal |
| A number animated by re-rendering text | NumberFlow |
| A list of 1,000+ rows rendered directly | Virtuoso |
Shared state passed through useState and props across many components | zustand |
className template literals with ternaries three deep | clsx, or cva when the conditions are variants |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

