shadcn/ui is a React component library and CLI tool that provides beautifully designed, copy-paste UI components for building modern web applications. The repository is a monorepo containing a Next.js documentation site (apps/v4) that showcases hundreds of components, examples, blocks, and a design system customizer, along with a CLI package (packages/shadcn) for scaffolding components into user projects. The architecture is organized around multiple style bases (React Aria, Base UI, Radix UI) and a registry system that defines components, hooks, utilities, and blocks as typed JSON items. Key entry points include the CLI commands (add, init, build, migrate, search, view) and the Next.js app routes for documentation, examples, blocks, charts, and the interactive design system creator. External dependencies include React, Tailwind CSS, various UI primitives (react-aria-components, @base-ui/react, @radix-ui/react-*), Recharts for charts, next-themes for dark mode, and several icon libraries (lucide, tabler, hugeicons, phosphor, remixicon). Data flows involve fetching registry items from a remote or local source, transforming them (import rewriting, CSS variable injection, RTL adaptation), and adding them to the user's project. The design system customizer encodes configuration into compact base62 preset codes that can be shared and applied.