frontend-master-ui-componentslisted
Install: claude install-skill developerammar382/frontend-master-skill
# UI Components
## Library choice
Use an existing accessible primitive before writing your own. Pick **one** foundation per project, then add only what the design needs.
| Need | Default pick | Alternatives |
| --- | --- | --- |
| Foundation | **shadcn/ui** | Base UI, Radix, React Aria (hardest a11y), MUI (enterprise speed) |
| Before building anything complex | Search **21st.dev** | shadcn blocks, coss ui, Kibo UI |
| Animated sections and effects | **Magic UI** or **Motion Primitives** | Aceternity, React Bits, Animate UI, Skiper UI |
| 3D | **React Three Fiber** + drei | ThreeUI (ready-made), Spline (visual) |
| AI chat interface | **AI Elements** | assistant-ui, Prompt Kit |
| Tables | **TanStack Table** + shadcn data table | TanStack Virtual for long lists |
| Charts | **shadcn charts** (Recharts) | visx, Tremor |
| Forms | **React Hook Form + Zod** | TanStack Form |
| Toasts / command palette | **Sonner** / **cmdk** | |
| No React (plain HTML) | **HyperUI** | Preline, Flowbite |
The full list (50 sources, with links and what each is best at) is in `references/component-sources.md`. Load it when the table above isn't enough.
**Base UI or Radix?** `npx shadcn init` picks Base UI; `npx shadcn init -b radix` picks Radix. In an existing project, use whatever it already has; never switch bases as part of a UI task. Radix composes with `asChild`, Base UI with a `render` prop.
Don't mix MUI with shadcn in one project. Their styling models conflict.
Effects libraries are