Full reference documentation for shadcn/ui (components, installation, theming, registry, forms integration). Use when building UI with shadcn/ui components, choosing between similar components, integrating forms (React Hook Form / TanStack Form / Formisch), building or consuming a component registry, or looking up exact props/APIs/schemas.
Fonte: docs.shadcn.com (llms-full.txt, capturado 22-08-2026) | Páginas: 108 | Gerado: 2026-08-24
dialog, data-table, registry.json ou outro termo indexado; eu encontro e leio o capítulo relevantech020; eu carrego esse capítulo específicoQuando você perguntar sobre um componente/tópico não coberto no índice abaixo, eu vou ler o arquivo do capítulo relevante antes de responder.
⚠️ Nota: este projeto (D:\Projetos) também tem o catálogo curado consultar-base (D:\Projetos\knowledge) pra shadcn/ui, Base UI e Aceternity UI — prefira aquele quando disponível, ele tem procedência rastreada e curadoria. Este skill é a documentação OFICIAL completa e crua, útil quando você precisa do texto exato da doc (schema de registry, prop rara, comportamento específico de versão) que o catálogo curado pode não ter capturado.
Formulário e Input — Field (ch019), Button (ch020), Button Group (ch021), Input (ch022), Input Group (ch023), Input OTP (ch024), Textarea (ch025), Checkbox (ch026), Radio Group (ch027), Select (ch028), Native Select (ch029), Switch (ch030), Slider (ch031), Combobox (ch034), Label (ch035)
Data & Date — Calendar (ch032), Date Picker (ch033)
Overlay / Modal — Dialog (ch044), Alert Dialog (ch045), Sheet (ch046), Drawer (ch047), Popover (ch048), Tooltip (ch049), Hover Card (ch050), Context Menu (ch051), Dropdown Menu (ch052), Menubar (ch053), Command (ch054)
Navegação — Breadcrumb (ch037), Navigation Menu (ch038), Sidebar (ch039), Tabs (ch040), Pagination (ch076)
Feedback / Status — Alert (ch055), Toast (ch056), Toast/Sonner (ch057), Progress (ch058), Spinner (ch059), Skeleton (ch060), Badge (ch061), Empty (ch062)
Data Display — Avatar (ch063), Card (ch064), Table (ch065), Data Table (ch066), Chart (ch067), Carousel (ch068), Aspect Ratio (ch069), Typography (ch070), Item (ch071), Kbd (ch072)
Layout & Estrutura — Accordion (ch036), Separator (ch041), Scroll Area (ch042), Resizable (ch043), Collapsible (ch073), Toggle (ch074), Toggle Group (ch075)
Instalação por Framework — Next.js (ch009), Vite (ch010), Remix (ch011), Astro (ch012), Laravel (ch013), Gatsby (ch014), React Router (ch015), TanStack Router (ch016), TanStack Start (ch017), Manual (ch018)
Tema, Direção e Idioma — Theming (ch004), Dark Mode geral+frameworks (ch078-ch082), Direction/RTL geral+frameworks (ch077, ch083-ch086)
Formulários (guias por lib) — Forms overview (ch087), React Hook Form (ch088), TanStack Form (ch089), Formisch (ch090), Next.js Server Actions (ch091)
Registry / Distribuição — Introduction (ch098), Getting Started (ch099), Examples (ch100), FAQ (ch101), Authentication (ch102), MCP Server (ch097, ch103), Namespaces (ch104), Registry Directory (ch008, ch105), Open in v0 (ch106), registry.json (ch107), registry-item.json (ch108)
Guias Gerais — Introduction (ch001), CLI (ch002), components.json (ch003), Typeset (ch005), Changelog (ch006), Skills (ch007), Monorepo (ch092), Next 15+React 19 (ch093), Tailwind v4 (ch094), JavaScript (ch095), Figma (ch096)
| # | Título | Conceitos-chave |
|---|---|---|
| ch001 | Introduction | Open Code, Composition, Distribution, AI-Ready |
| ch002 | shadcn (CLI) | init, add, migrate, build, eject |
| ch003 | components.json | style, tailwind.baseColor, cssVariables, aliases, registries |
| ch004 | Theming | CSS variable tokens, background/foreground pairing, radius scale |
| ch005 | Typeset | typeset class, size/leading/flow rhythm, not-typeset, streaming stability |
| ch006 | Changelog | live release notes page (no stable reference content) |
| ch007 | Skills | shadcn/ui AI Skill, shadcn info --json, project context injection |
| ch008 | Registry Directory | built-in community registries, custom registry authoring |
| ch009 | Installation: Next.js | shadcn/create, init -t next, --monorepo, @/* alias |
| ch010 | Installation: Vite | @tailwindcss/vite, split tsconfig alias, vite.config.ts alias |
| ch011 | Installation: Remix | create-remix, ~/* alias |
| ch012 | Installation: Astro | React integration, .astro frontmatter imports |
| ch013 | Installation: Laravel | laravel new (React starter kit), resources/js/components/ui |
| ch014 | Installation: Gatsby | Tailwind v3 only, gatsby-node.ts webpack alias |
| ch015 | Installation: React Router | create-react-router, ~/* alias |
| ch016 | Installation: TanStack Router | create-tsrouter-app --add-ons shadcn, single-command install |
| ch017 | Installation: TanStack Start | @tanstack/cli create, @/* alias |
| ch018 | Installation: Manual | cn helper, hand-authored components.json, shadcn/tailwind.css |
| ch019 | Field | FieldSet, FieldGroup, FieldLabel, FieldError, orientation |
| ch020 | Button | variant, size, data-icon, buttonVariants |
| ch021 | Button Group | orientation, ButtonGroupSeparator, nesting for spacing |
| ch022 | Input | native input wrapper, Field pairing, no custom API |
| ch023 | Input Group | InputGroupAddon align, InputGroupButton, focus DOM order |
| ch024 | Input OTP | InputOTP maxLength/pattern, InputOTPSlot, InputOTPSeparator |
| ch025 | Textarea | disabled, aria-invalid, Field/FieldLabel/FieldDescription, RTL dir |
| ch026 | Checkbox | checked/onCheckedChange, defaultChecked, disabled, Field composition |
| ch027 | Radio Group | RadioGroup, RadioGroupItem, choice card, disabled |
| ch028 | Select | items array, SelectTrigger/SelectContent, alignItemWithTrigger, SelectGroup |
| ch029 | Native Select | NativeSelect, NativeSelectOption, NativeSelectOptGroup, Select vs Native Select |
| ch030 | Switch | checked/onCheckedChange, size, choice card, disabled |
| ch031 | Slider | defaultValue/value array, min/max/step, orientation vertical, dir RTL |
| ch032 | Calendar | mode single/range, captionLayout dropdown, timeZone, modifiers, --cell-size |
| ch033 | Date Picker | composição Popover+Calendar, render prop no trigger, data-empty, open/onOpenChange |
| ch034 | Combobox | items/itemToStringValue, multiple com ComboboxChips, ComboboxGroup, ComboboxTrigger popup |
| ch035 | Label | htmlFor, Field, FieldLabel, RTL dir |
| ch036 | Accordion | defaultValue, multiple, AccordionItem disabled, composição strict |
| ch037 | Breadcrumb | BreadcrumbLink render, BreadcrumbPage, BreadcrumbSeparator children, BreadcrumbEllipsis |
| ch038 | Navigation Menu | NavigationMenuTrigger/Content, navigationMenuTriggerStyle(), render, dir/align RTL |
| ch039 | Sidebar | SidebarProvider, useSidebar, variant inset, collapsible icon/offcanvas/none, Collapsible groups |
| ch040 | Tabs | TabsList variant="line", orientation vertical, TabsTrigger disabled |
| ch041 | Separator | orientation vertical, uso entre itens de menu/lista |
| ch042 | Scroll Area | ScrollBar orientation horizontal, whitespace-nowrap |
| ch043 | Resizable | ResizablePanelGroup, defaultSize percentual, react-resizable-panels v3→v4 |
| ch044 | Dialog | render prop, showCloseButton, sticky footer com scroll interno |
| ch045 | Alert Dialog | AlertDialogMedia, size="sm", variant destructive |
| ch046 | Sheet | side (top/right/bottom/left), showCloseButton |
| ch047 | Drawer | swipeDirection, snapPoints, modal=false, migração Vaul→Base UI |
| ch048 | Popover | align, side lógico (inline-start/inline-end), PopoverHeader |
| ch049 | Tooltip | TooltipProvider obrigatório, tooltip em disabled via span |
| ch050 | Hover Card | delay/closeDelay, side/align |
| ch051 | Context Menu | ContextMenuSub, pointer-fine/pointer-coarse, variant destructive |
| ch052 | Dropdown Menu | DropdownMenuPortal em submenu, CheckboxItem, RadioGroup, align end (avatar) |
| ch053 | Menubar | MenubarMenu múltiplos, inset, mesma família de Dropdown/Context |
| ch054 | Command | cmdk (não Base UI), CommandDialog, CommandGroup heading |
| ch055 | Alert | variant default/destructive, AlertAction, cor customizada via className |
| ch056 | Toast | toast.add, toast.close, actionProps, type, Toaster |
| ch057 | Toast (Sonner) | alias histórico de Toast, mesma API, toast.add types |
| ch058 | Progress | value, ProgressLabel, ProgressValue, composição controlada |
| ch059 | Spinner | LoaderIcon, animate-spin, data-icon, size-* |
| ch060 | Skeleton | placeholder sem props, composição via className, avatar/card/table skeleton |
| ch061 | Badge | variant, data-icon, render prop, cores customizadas |
| ch062 | Empty | EmptyMedia variant icon/default, EmptyHeader, EmptyContent |
| ch063 | Avatar | AvatarImage/AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount |
| ch064 | Card | size, --card-spacing, CardAction, edge-to-edge content |
| ch065 | Table | TableHeader/TableBody/TableFooter, sem lógica de dados própria |
| ch066 | Data Table | tableFeatures, columnHelper, useTable, table.FlexRender |
| ch067 | Chart | ChartConfig, ChartContainer, var(--color-KEY), ChartTooltip/Legend |
| ch068 | Carousel | opts (Embla), setApi, plugins, basis-/pl-/-ml-* |
| ch069 | Aspect Ratio | ratio prop, fill+object-cover |
| ch070 | Typography | classes Tailwind por elemento, sem componente real |
| ch071 | Item | variant, size, ItemMedia (icon/image), render, Field vs Item |
| ch072 | Kbd | Kbd, KbdGroup, uso em Button/Tooltip/InputGroup |
| ch073 | Collapsible | Collapsible, CollapsibleTrigger/Content, render prop, open/onOpenChange |
| ch074 | Toggle | variant, size, aria-label, group-aria-pressed |
| ch075 | Toggle Group | multiple, spacing (default 2), orientation, value array |
| ch076 | Pagination | PaginationLink isActive, PaginationPrevious/Next text prop, Next.js Link swap |
| ch077 | Direction | DirectionProvider, useDirection |
| ch078 | Dark Mode | índice de guias por framework, padrão ModeToggle Sun/Moon |
| ch079 | Dark Mode (Next.js) | next-themes, suppressHydrationWarning, attribute="class" |
| ch080 | Dark Mode (Vite) | ThemeProviderContext custom, localStorage, matchMedia |
| ch081 | Dark Mode (Astro) | script is:inline, MutationObserver, client:load |
| ch082 | Dark Mode (Remix) | remix-themes, cookie de sessão, PreventFlashOnWrongTheme |
| ch083 | RTL | rtl:true, classes lógicas start-/end-, migrate rtl, exceções manuais |
| ch084 | RTL (Next.js) | create --template next --rtl, DirectionProvider, Noto_Sans_Arabic |
| ch085 | RTL (Vite) | index.html dir/lang, Fontsource, main.tsx wiring |
| ch086 | RTL (TanStack Start) | __root.tsx, createRootRoute, Fontsource |
| ch087 | Forms | índice de guias por lib (RHF, TanStack Form, Formisch) |
| ch088 | React Hook Form | Controller pattern, data-invalid/aria-invalid, useFieldArray, zodResolver |
| ch089 | TanStack Form | form.Field render-prop, field.state.meta, mode="array", pushValue/removeValue |
| ch090 | Formisch | Field/FieldArray, funções top-level (form,config), Valibot, field.props |
| ch091 | Next.js (forms) | useActionState, Server Actions, Field data-invalid/aria-invalid, safeParse |
| ch092 | Monorepo | init --monorepo, @workspace/ui, per-workspace components.json aliases, package.json#imports |
| ch093 | Next.js 15 + React 19 | ERESOLVE peer deps, --force/--legacy-peer-deps, recharts react-is override |
| ch094 | Tailwind v4 | @theme inline, data-slot, forwardRef removal, size-*, tw-animate-css |
| ch095 | JavaScript | tsx: false, jsconfig.json paths alias |
| ch096 | Figma | community kits, free vs paid, design-to-code plugins |
| ch097 | MCP Server | mcp init --client, .mcp.json, components.json#registries, content negotiation |
| ch098 | Introduction (Registry) | registry as distribution system, framework-agnostic |
| ch099 | Getting Started (Registry) | registry.json single vs include, shadcn build, loadRegistry/loadRegistryItem, CLI test commands |
| ch100 | Examples (Registry) | registry:style/theme/block/ui/lib/hook/font/base, target placeholders, universal items |
| ch101 | FAQ (Registry) | complex component anatomy, cssVars.light/dark/theme, bare vs GitHub registryDependencies |
| ch102 | Authentication (Registry) | Bearer/API key/query param auth, env var expansion, custom 401/403 messages |
| ch103 | MCP Server (Registry) | registry.json at root requirement, MCP best practices |
| ch104 | Namespaces | @namespace syntax, URL placeholders {name}/{style}, dependency resolution order, override pattern |
| ch105 | Registry Directory | registries.json index, flat structure requirement, submission process |
| ch106 | Open in v0 | v0.dev/chat/api/open?url=, feature limitations, query-param-only auth |
| ch107 | registry.json | $schema/name/homepage/include/items fields, GitHub repo as registry |
| ch108 | registry-item.json | type enum, files[].target, cssVars, css, font object, target placeholders |
Este skill cobre a documentação oficial do shadcn/ui capturada em 22-08-2026 — pode ficar desatualizado conforme o projeto evolui. Para componentes shadcn/Base UI/Aceternity com curadoria e procedência, prefira o catálogo em D:\Projetos\knowledge via skill consultar-base quando disponível.