pick-ui-library

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

Updated May 15, 2026
One-click install
npx skills add https://github.com/danielbere1973/promoar --skill pick-ui-library-danielbere1973
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pick-ui-library
Source: https://github.com/danielbere1973/promoar/tree/main/.agents/skills/pick-ui-library
Command: npx skills add https://github.com/danielbere1973/promoar --skill pick-ui-library-danielbere1973

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right frontend library is time-consuming and inconsistent across teams. This Skill maps a described UI task to a curated, opinionated library list so you get one deliberate recommendation instead of comparing dozens of npm packages. ## Core Features & Use Cases - Task-to-library matching: Covers UI primitives, command menus, toasts, OTP inputs, animation, charts, virtualization, drag and drop, state management, and styling. - Existing-stack 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, or unvirtualized thousand-row lists 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, ready to install and wire up. ## 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 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 a charting library for a React dashboard?▼

Use recharts for general static or interactive dashboard charts, and Liveline when data points arrive live and the chart scrolls with time. The split is real-time streaming versus everything else.

What library should I use for toast notifications in React?▼

Use Sonner for toasts and notifications. It exists specifically for this pattern, so building toasts by hand or bending a modal library into toast duty is unnecessary.

clsx vs cva: when should I use each for Tailwind styling?▼

Use clsx for ad-hoc conditional className strings and cva when a component has real variants like size, intent, or state that deserve a typed API. They compose, since cva accepts 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 the project uses a competitor, such as react-window instead of Virtuoso, it flags the recommendation but does not swap dependencies unless asked.

What happens 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 force an unrelated listed library onto an uncovered task.