pick-ui-library
emilkowalski/skills · Agent Skill
Choose an opinionated, trusted library for common frontend tasks including components, motion, charts, interaction, state, and styling.
Jump to install ↓Overview
| Publisher | |
|---|---|
| Repository | emilkowalski/skills ↗ |
| Skill folder | pick-ui-library |
| Stars | 49,875 |
| Forks | 2,906 |
| Bundled files | 1 |
| License | MIT |
| Last updated | October 11, 2026 |
| Links | Skill source ↗ · Repository ↗ |
Mozgi check
What we found in the skill files. Details come with a subscription.
Installation
A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.
Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.
Install the “pick-ui-library” skill from mozgi.io (https://mozgi.io/skills/emilkowalski-pick-ui-library/) for me. 1. Download the archive: https://mozgi.io/skills/emilkowalski-pick-ui-library/download If it fails, take the skill folder from the source: https://github.com/emilkowalski/skills/tree/main/skills/pick-ui-library 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “pick-ui-library” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/pick-ui-library/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .claude/skills cp -r /tmp/skills/skills/pick-ui-library .claude/skills/pick-ui-library
Restart Claude Code — the skill appears in the list; call it manually with /pick-ui-library. For all projects use ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .agents/skills cp -r /tmp/skills/skills/pick-ui-library .agents/skills/pick-ui-library
Codex looks for skills in .agents/skills from the current folder up to the repo root; call one with /skills or $pick-ui-library. For all projects use ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .cursor/skills cp -r /tmp/skills/skills/pick-ui-library .cursor/skills/pick-ui-library
Cursor picks the skill up on start; call it with “/” in Agent chat. Cursor also reads .claude/skills and .agents/skills. For all projects use ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .gemini/skills cp -r /tmp/skills/skills/pick-ui-library .gemini/skills/pick-ui-library
Gemini CLI offers to activate the skill when a task matches — you approve it. For all projects use ~/.gemini/skills.
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlyPicking The Right Library
Initial Response
When this skill is first invoked without a specific question, respond only with:
> I'm ready to pick the right library for your task, my picks come from Emil Kowalski's curated list.
Do not provide any other information until the user asks a question.
A lookup skill. When invoked with a task ("I need toasts", "what should I use for drag and drop?"), match the task to the curated list below and recommend the library. These are deliberate, taste-driven picks — don't substitute alternatives outside this list unless the user asks for one or the task genuinely isn't covered.
How to use this
1. Identify the task, not the library the user named. "I need to show a dropdown" is a UI-primitives task (base-ui), even if they asked about something else.
2. Check what's already installed. Look at package.json first. If the project already uses a listed library, use it. If it uses a competitor (e.g. react-window instead of Virtuoso), flag the recommendation but don't churn the dependency without being asked.
3. Recommend one library, state what it's for in one sentence, and install/wire it up if that's part of the request. Don't present a menu of options when the list has a clear answer.
4. If the task isn't covered by the list, say so explicitly and recommend from your own knowledge — but be clear you've left the curated list.
The list
UI components & primitives
| Task | Library |
| --- | --- |
| Unstyled, accessible UI components (dialogs, popovers, menus, selects…) | base-ui ↗ |
| Command menus (⌘K palettes) | cmdk ↗ |
| Toasts / notifications | Sonner ↗ |
| One-time password / verification code inputs | input-otp ↗ |
| Customizable GUIs / control panels | Leva ↗ — dialkit ↗ is an alternative |
Motion & visuals
| Task | Library |
| --- | --- |
| General-purpose animation (springs, layout animations, enter/exit) | motion ↗ (Framer Motion) |
| Animating numbers (counters, prices, stats) | NumberFlow ↗ |
| Animated text components | torph ↗ |
| 3D globes | Cobe ↗ |
| Dynamic OG images (HTML/CSS → SVG/PNG) | Satori ↗ |
| Syntax highlighting | shiki ↗ |
Reach for motion when you need springs, layout animations, exit animations, or gesture-driven values. A simple hover or fade doesn't need it — plain CSS transitions are the right tool there.
Charts
| Task | Library |
| --- | --- |
| Real-time / streaming charts | Liveline ↗ |
| General charts (static or interactive dashboards) | recharts ↗ |
The split: if data points arrive live and the chart scrolls with time, use Liveline. Everything else is recharts.
Interaction & performance
| Task | Library |
| --- | --- |
| Drag and drop | dnd kit ↗ |
| Virtualization (long lists, large tables) | Virtuoso ↗ |
State & styling
| Task | Library |
| --- | --- |
| State management | zustand ↗ |
| Constructing className strings conditionally | clsx ↗ |
| Type-safe, variant-driven styling for Tailwind | cva ↗ |
| Theme switching / dark mode (no flash on load) | next-themes ↗ |
The styling split: clsx for ad-hoc conditional classes; cva when a component has real variants (size, intent, state) that deserve a typed API. They compose — cva uses clsx-style inputs internally.
Common mismatches to catch
- Toasts built by hand or with a modal library → Sonner exists for exactly this.
- A
<div>-based dropdown/dialog with manual focus handling → base-ui, which handles accessibility, focus trapping, and dismissal. - Animating a number by re-rendering text → NumberFlow handles digit transitions properly.
- Rendering a 1,000+ row list directly → Virtuoso before reaching for pagination hacks.
- A
useState-per-component web of props for shared state → zustand. - Template-literal className ternaries three conditions deep → clsx (or cva if it's variant-shaped).
Frequently asked questions
What does the pick-ui-library skill do?
Choose an opinionated, trusted library for common frontend tasks including components, motion, charts, interaction, state, and styling.
How do I install pick-ui-library?
Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.
Which AI models work with pick-ui-library?
Skills are plain Markdown instructions (the Agent Skills format), so pick-ui-library works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.
Is pick-ui-library free?
The skill is published openly by emilkowalski under the MIT license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.
Is it safe to install skills?
A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.
How is a skill different from an MCP server or a plugin?
An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.