pick-ui-library

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

Updated Sep 7, 2026
One-click install
npx skills add https://github.com/raphaelmans/spectralpointengineering --skill pick-ui-library-raphaelmans
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pick-ui-library
Source: https://github.com/raphaelmans/spectralpointengineering/tree/main/.skillshare/skills/pick-ui-library
Command: npx skills add https://github.com/raphaelmans/spectralpointengineering --skill pick-ui-library-raphaelmans

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing a frontend library often means sifting through dozens of overlapping options and inconsistent recommendations. This Skill maps a described UI task directly to one opinionated, curated library pick, removing decision fatigue and preventing mismatched choices like hand-rolled toasts or unvirtualized thousand-row lists. ## 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 instead of churning dependencies. - Mismatch detection: Flags common anti-patterns such as div-based dropdowns with manual focus handling or template-literal className ternaries, and points to the right library. - Use Case: You ask "what should I use for a ⌘K command palette?" and get cmdk as the single recommendation, plus wiring it into your project if requested. ## Quick Start Ask the skill which library to use for a specific frontend task, such as "I need 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 React library should I use for drag and drop?

Use dnd kit for drag and drop in React. It is the curated pick for sortable lists, draggable elements, and drop targets, and it handles the interaction complexity that hand-rolled mouse-event logic gets wrong.

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 dashboard charts.

What library should I use for toast notifications in React?

Use Sonner for toasts and notifications. It exists specifically for this purpose, so building toasts by hand or adapting a modal library is an unnecessary mismatch.

When should I use clsx versus cva for Tailwind 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; cva composes with clsx-style inputs internally.

Does this skill replace libraries already in my package.json?

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

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

The skill says so explicitly and then recommends from general knowledge, clearly stating it has left the curated list. It does not silently substitute unlisted alternatives for covered tasks.