Loading...
Loading...
Current shadcn/ui component guidance for projects generated with Radix UI or Base UI, including primitive-specific composition, Tailwind CSS v4 theming, accessibility, forms, tables, and state patterns. Inspect the checked-in component implementation before applying Radix asChild or Base UI render APIs.
npx skill4agent add pymodel/react-frontend-skills shadcn| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Component Architecture | CRITICAL | |
| 2 | Accessibility Preservation | CRITICAL | |
| 3 | Styling & Theming | HIGH | |
| 4 | Form Patterns | HIGH | |
| 5 | Data Display | MEDIUM-HIGH | |
| 6 | Component Composition | MEDIUM | |
| 7 | Performance Optimization | MEDIUM | |
| 8 | State Management | LOW-MEDIUM | |
arch-use-asChild-for-custom-triggersarch-preserve-radix-primitive-structurearch-extend-variants-with-cvaarch-use-cn-for-class-mergingarch-forward-refs-for-composable-componentsarch-isolate-component-variantsally-preserve-aria-attributesally-provide-sr-only-labelsally-maintain-focus-managementally-preserve-keyboard-navigationally-ensure-color-contraststyle-use-css-variables-for-themingstyle-avoid-important-overridesstyle-use-tailwind-theme-extendstyle-consistent-spacing-scalestyle-responsive-design-patternsstyle-dark-mode-supportform-use-react-hook-form-integrationform-use-zod-for-schema-validationform-show-validation-errors-correctlyform-handle-async-validationform-reset-form-state-correctlydata-use-tanstack-table-for-complex-tablesdata-virtualize-large-listsdata-use-skeleton-loading-statesdata-paginate-server-sidedata-empty-states-with-guidancecomp-compose-with-compound-componentscomp-use-drawer-for-mobile-modalscomp-combine-command-with-popovercomp-nest-dialogs-correctlycomp-create-reusable-form-fieldscomp-use-slot-pattern-for-flexibilityperf-lazy-load-heavy-componentsperf-memoize-expensive-rendersperf-optimize-icon-importsperf-avoid-unnecessary-rerenders-in-formsperf-debounce-search-inputsstate-prefer-uncontrolled-for-simple-inputsstate-lift-state-to-appropriate-levelstate-use-controlled-dialog-statestate-colocate-state-with-components| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |