Loading tutorials
useState, and that you can read basic TypeScript. You don't need prior accessibility experience. You should know what a browser's Tab key does on a page. Later chapters on Radix UI and shadcn/ui rely on the vocabulary intr5 min readcn helper that every shadcn/ui component uses to build its className. It assumes you can read React function components and TypeScript, and that you know Tailwind utility classes. You should also have run npx shadcn@latest init, which is covered in the previous chapter.5 min readcn helper from the previous chapter. By the end you will know how class-variance-authority (cva) maps component props to class strings, how it 5 min readnpx shadcn@latest init in a React project (covered in the CLI chapter), and know basic CSS custom properties. It uses the Tailwind v3 style of configuration. The Tailwind v4 differences are listed near the end.4 min readButton and cva code from the earlier chapters. It covers how Radix primitives compose, how asChild changes the element a component renders, and what goes wrong wh5 min readnpx shadcn@latest add button dialog, so components/ui/button.tsx exists in your repository. It also assumes you know how cn merges classes and how cva defines variants. Both were covered in earlier chapters.4 min readnpx shadcn@latest add table so the shadcn/ui Table components exist in your project. You should also know what a headless component is, from the earlier chapter on headless compone5 min readnpx shadcn@latest init, added a few components, and edited at least one of them. It also assumes you are comfortable with Git. It covers what updates itself, what doesn't, and how to pull in upstream changes without losing your edits.6 min read