/officialunofficial-skills:pick-ui-libraryfrom Official Unofficial Skills
Recommends a specific frontend library from a curated list for tasks like UI primitives, toasts, OTP inputs, charts, command menus, virtualization, drag and drop, animation, state, and styling.
Ships in Official Unofficial Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Match the task to the list below and recommend one library. The list is a deliberate set of picks, so stay inside it unless the user asks for an alternative or the task is not covered.
package.json. If the project already has a listed library, use it. If it has a competitor (for example react-window where the list says Virtuoso), mention the pick and leave the dependency alone unless the user asks to switch.| Task | Library |
|---|---|
| Unstyled, accessible components: dialogs, popovers, menus, selects | base-ui |
| Command menus (Cmd+K palettes) | cmdk |
| Toasts and notifications | Sonner. See ask-sonner |
| One-time password and verification code inputs | input-otp |
| Control panels for tuning values | Leva. dialkit is the alternative |
| Task | Library |
|---|---|
| General animation: springs, layout animations, enter and exit | motion (Framer Motion) |
| Animated numbers: counters, prices, stats | NumberFlow |
| Animated text | torph |
| 3D globes | Cobe |
| Dynamic OG images from HTML and CSS | Satori |
| Syntax highlighting | shiki |
Use motion for springs, layout animations, exit animations, and gesture-driven values. A plain hover or fade needs only a CSS transition.
| Task | Library |
|---|---|
| Real-time, streaming charts | Liveline |
| Every other chart, static or interactive | recharts |
Use Liveline when points arrive live and the chart scrolls with time.
| Task | Library |
|---|---|
| Drag and drop | dnd kit |
| Virtualized long lists and large tables | Virtuoso |
| Task | Library |
|---|---|
| State management | zustand |
Conditional className strings | clsx |
| Typed variants for Tailwind components | cva |
| Theme switching with no flash on load | next-themes |
Use clsx for ad hoc conditional classes. Use cva when a component has real variants, such as size, intent, or state, that deserve a typed API. cva accepts clsx-style inputs, so the two compose.
| You find | Recommend |
|---|---|
| Toasts built by hand or with a modal library | Sonner |
A <div> dropdown or dialog with manual focus handling | base-ui, which handles accessibility, focus trapping, and dismissal |
| A number animated by re-rendering text | NumberFlow |
| A list of 1,000+ rows rendered directly | Virtuoso |
Shared state passed through useState and props across many components | zustand |
className template literals with ternaries three deep | clsx, or cva when the conditions are variants |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub officialunofficial/skills --plugin officialunofficial-skills85 skills in this plugin
/alignmentMeasures a running page for edges, gaps, centres and radii that miss by a pixel or two, judges visual weight, and returns a numbered report with proof./animateBuilds a web animation from scratch and writes the code. Decides in order whether it should animate at all, its purpose, the tool, the properties, the easing and duration or spring, how it interrupts and exits, and reduced motion. Use when asked to animate something, add motion, build a transition, or make a component feel alive. For React Native or Expo use animate-expo. To critique existing motion use review-animations. To audit a whole codebase use improve-animations./animate-expoBuilds animations in React Native and Expo with Reanimated, Gesture Handler, Expo Router and expo-haptics. Decides in order whether to animate, which tool, which properties, spring or timing, and how to stay on the UI thread. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on a device. For web animation use `animate`./animation-performanceDiagnoses and fixes web animations that drop frames. Covers the layout, paint and composite pipeline, cheaper property swaps, CSS and WAAPI against requestAnimationFrame, the accelerated path in Motion, React re-renders per frame, inherited CSS variables, blur cost, and when will-change helps. Use when an animation is janky, choppy or stutters, when choosing which property to animate, or when reaching for will-change or GPU layers. For easing, duration or whether to animate at all, use animate./animation-vocabularyNames a web animation or motion effect from a loose description, for example "the bouncy thing when a popover opens" is Pop in and "the iOS scroll that resists and snaps back" is Rubber-banding. Use when the user asks "what is it called when..." or describes a motion effect and wants the right word to give a designer or an agent. It names effects. It does not design or build them./apple-designApplies Apple's approach to fluid, physical interfaces on the web. Use when building or reviewing gesture-driven UI, spring animation, drag, swipe or sheet interactions, momentum, interruptible transitions, rubber-banding, translucent materials and depth, type tracking and leading, reduced motion, or when a design needs Apple's design principles as a frame.