pick-ui-library

Recommends curated frontend libraries for UI tasks like charts, toasts, drag and drop, and state management.

70|4|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/AlexW00/Zettel --skill pick-ui-library-alexw00
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pick-ui-library
Source: https://github.com/AlexW00/Zettel/tree/main/.agents/skills/pick-ui-library
Command: npx skills add https://github.com/AlexW00/Zettel --skill pick-ui-library-alexw00

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right frontend library for a task is time-consuming and often leads to inconsistent or poorly-fitting dependencies. This Skill maps common frontend tasks to a curated, opinionated list of proven libraries so you get one clear recommendation instead of a menu of options. ## Core Features & Use Cases - Task-to-library matching: Covers UI primitives (base-ui), command menus (cmdk), toasts (Sonner), OTP inputs (input-otp), animation (motion, NumberFlow), charts (Liveline, recharts), drag and drop (dnd kit), virtualization (Virtuoso), state (zustand), and styling (clsx, cva, next-themes). - Existing dependency awareness: Checks package.json first and respects libraries already installed, flagging competitors without churning dependencies. - Mismatch detection: Catches common anti-patterns like hand-built toasts, div-based dropdowns with manual focus handling, and re-rendered number animations. - Use Case: You ask "what should I use for a ⌘K command palette?" and get a direct recommendation of cmdk with wiring guidance, rather than a comparison of five alternatives. ## Quick Start Ask the skill which library to use for a specific frontend task, such as "what should I use for drag and drop in my React app?"

Frequently Asked Questions about pick-ui-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What library should I use for drag and drop in React?▼

Use dnd kit for drag and drop in React applications. It is the curated pick for this task, covering sortable lists, droppable zones, and complex drag interactions.

How do I choose between recharts and Liveline for charts?▼

Use Liveline when data points arrive live and the chart scrolls with time, such as streaming dashboards. Use recharts for everything else, including static or interactive general-purpose charts.

What is the best library for toast notifications in React?▼

Sonner is the recommended library for toasts and notifications. It exists specifically for this purpose, so building toasts by hand or with a modal library is an anti-pattern to avoid.

When should I use clsx versus cva for styling?▼

Use clsx for ad-hoc conditional className strings. Use cva when a component has real variants like size, intent, or state that deserve a typed API. They compose, since cva uses clsx-style inputs internally.

Does this skill replace my existing libraries if a competitor is installed?▼

No. It checks package.json first and uses a listed library if already present. If a competitor like react-window is installed instead of Virtuoso, it flags the recommendation but does not churn the dependency unless asked.

What happens if my task is not covered by the curated list?▼

The skill explicitly says the task is not covered and then recommends from general knowledge, making clear that the suggestion comes from outside the curated list.