Skip to content
Emil Kowalski: Pick UI Library

Emil Kowalski: Pick UI Library Skill

Emil Kowalski's curated lookup of frontend libraries: one recommendation per task, from base-ui primitives and Sonner toasts to Vaul drawers, cmdk, motion, recharts, Virtuoso, dnd kit, zustand and cva.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from emilkowalski/skills.

$ npx skills add emilkowalski/skills --skill pick-ui-library

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/pick-ui-library/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/pick-ui-library ~/.claude/skills/pick-ui-library

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/pick-ui-library/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • One recommended library per frontend task
  • Curated picks for primitives, toasts, drawers, command menus and OTP inputs
  • Motion, charts, virtualization, drag and drop, state and styling
  • Checks package.json and respects libraries already installed
  • Flags common mismatches such as hand-rolled toasts
  • Says explicitly when a task is outside the curated list

Pick UI Library is a lookup skill from Emil Kowalski. Ask it what to use for a frontend task (toasts, a command menu, drag and drop, a long list) and it answers with a single library from his curated list rather than a menu of options.

The list covers UI primitives (base-ui for accessible dialogs, popovers and menus, cmdk, Sonner, Vaul, input-otp, Leva), motion and visuals (motion for springs and layout animations, NumberFlow, torph, Cobe, Satori, shiki), charts (Liveline for streaming data, recharts otherwise), interaction and performance (dnd kit, Virtuoso) and state and styling (zustand, clsx, cva, next-themes), with short notes on where each split falls.

Before recommending, the agent identifies the real task, checks package.json and keeps a library the project already uses, and says plainly when a task falls outside the list. It also flags common mismatches such as hand-built toasts or div-based dialogs with manual focus handling. It runs only when invoked. MIT licensed.

Try it

Once installed, ask your agent something like:

I need a bottom sheet on mobile and toasts for save confirmations. What should I use?

SKILL.md

The instructions your agent loads, as published by Emil Kowalski.

SKILL.md
name
pick-ui-library
description
Pick the library for a frontend task from a curated list — primitives, toasts, drawers, command menus, OTP, numbers, charts, virtualization, drag and drop, state, styling.
disable-model-invocation
true

Picking 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
TaskLibrary
Unstyled, accessible UI components (dialogs, popovers, menus, selects…)base-ui
Command menus (⌘K palettes)cmdk
Toasts / notificationsSonner
Drawers / bottom sheetsVaul
One-time password / verification code inputsinput-otp
Customizable GUIs / control panelsLeva
Motion & visuals
TaskLibrary
General-purpose animation (springs, layout animations, enter/exit)motion (Framer Motion)
Animating numbers (counters, prices, stats)NumberFlow
Animated text componentstorph
3D globesCobe
Dynamic OG images (HTML/CSS → SVG)Satori
Syntax highlightingshiki

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
TaskLibrary
Real-time / streaming chartsLiveline
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
TaskLibrary
Drag and dropdnd kit
Virtualization (long lists, large tables)Virtuoso
State & styling
TaskLibrary
State managementzustand
Constructing className strings conditionallyclsx
Type-safe, variant-driven styling for Tailwindcva
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).
Install

Skill: GSAP React

by GreenSock

New

GreenSock's official skill for using GSAP in React and Next.js: the useGSAP() hook with scoped selectors and automatic cleanup, refs for targets, contextSafe callbacks, gsap.context() in useEffect, and SSR-safe usage.

New

Addy Osmani's skill for building production-quality, accessible, responsive interfaces: component architecture, the simplest workable state, design-system adherence, a list of AI-aesthetic defaults to avoid, WCAG 2.1 AA and a verification checklist.

The official shadcn/ui skill: project-aware rules and CLI workflows for adding, composing, styling and updating shadcn components, applying presets, and turning a DESIGN.md into a themed design system.

Browse all skills →