Introduction to FewTone UI
FewTone UI is a free, open-source collection of accessible React components for Next.js, built with Tailwind CSS v4 and Radix. You add a component with one shadcn CLI command, and its full source lands in your project, ready to read, change and ship.
What is FewTone UI?
FewTone UI is a component library you copy, not one you depend on. Each component is a single, readable TypeScript file that lives in your codebase, next to your own components. There is no package to keep up to date and no styles to override: you change the code directly.
It works the same way as shadcn/ui, and uses the same CLI and the same colour names. FewTone UI components sit naturally next to shadcn/ui ones and take your project's theme as they are.
Why use FewTone UI?
- Accessible by default. Components are built on Radix primitives and follow the WAI-ARIA patterns. They work with a keyboard, show a clear focus ring, and are tested with axe for accessibility issues.
- You own the code. The source is copied into
components/ui, so you can rename props, change styles or remove what you don't need. - Styled with Tailwind CSS v4. Every style is a Tailwind class or a CSS variable, in light and dark mode.
- Considered motion. Select highlights glide and switches spring into place, using shared presets. Everything respects the operating system's reduced-motion setting.
- Built for your AI assistant. Every component page has a Copy prompt button: a step-by-step brief your assistant can follow to add the component without touching the rest of your app.
- Free and open source. MIT licence, for personal and commercial projects.
How it works
- Pick a component from the components page. Each one has a live preview, usage code, examples and its full API.
- Run its install command. The shadcn CLI reads the component from the FewTone UI registry at
ui.fewtone.com. - The CLI writes the source into your project and installs its npm dependencies. The first time, it also adds the FewTone UI tokens to your global CSS file: sizes, motion durations and the focus ring. It only adds variables you don't have yet, so your theme stays as it is.
- Import it and make it yours.
npx shadcn@latest add https://ui.fewtone.com/r/button.jsonimport { Button } from "@/components/ui/button"
export function Actions() {
return <Button>Continue</Button>
}The installation guide covers every step, including installing by hand.
Built with
- React 19 and Next.js with the App Router
- Tailwind CSS v4 for styles, with CSS variables for the theme
- Radix UI for accessible behaviour: focus management, keyboard support and ARIA attributes
- Motion for the components that animate with JavaScript
- shadcn CLI to install components from the registry
Accessibility
Accessibility isn't an extra. Every component:
- works with the keyboard alone, with the keys each WAI-ARIA pattern expects
- shows a visible focus ring for keyboard users
- has the right roles and ARIA attributes for screen readers, from Radix
- keeps animations short and turns them off when the system asks for reduced motion
- is tested with Testing Library and axe before it is published
Frequently asked questions
- Is FewTone UI free?
- Yes. FewTone UI is free and open source under the MIT licence, for personal and commercial projects.
- Does FewTone UI work with shadcn/ui?
- Yes. It uses the shadcn CLI and the same colour variables, so FewTone UI components install into a shadcn/ui project and match its theme.
- Do I need Next.js?
- FewTone UI is built and tested with Next.js and the App Router. The components are plain React 19 with Tailwind CSS v4, so other React frameworks that the shadcn CLI supports should work, but they are not tested yet.
- Does it support dark mode?
- Yes. Every component follows your light and dark colours through CSS variables, switched by the dark class on the html element, the way next-themes works.
- Can I change the components?
- Yes. The source is copied into your project, so you can edit any component like your own code.
Next steps
- Install FewTone UI in a Next.js project.
- Browse all components.