ui-components

Build accessible UI component libraries with shadcn/ui and Radix Primitives.

217|20|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/yonatangross/orchestkit --skill ui-components-yonatangross
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-components
Source: https://github.com/yonatangross/orchestkit/tree/main/plugins/ork/skills/ui-components
Command: npx skills add https://github.com/yonatangross/orchestkit --skill ui-components-yonatangross

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and checklists (resource) and rules (resource) components.

What problem does it solve?

This Skill streamlines the creation of accessible, modern UI component libraries by providing robust patterns for shadcn/ui and Radix Primitives, eliminating common pitfalls in design system development.

Core Features & Use Cases

  • Component Patterns: Comprehensive guidance on CVA variants, OKLCH theming, cn() utility, and asChild composition.
  • Framework Integration: Best practices for integrating with React Hook Form, Zod, and Server Actions for form handling.
  • Design System Foundations: Rules for token architecture, spacing scales, typography, and interactive states.
  • Use Case: When building a new design system, use this Skill to ensure components are accessible, themeable, and follow modern best practices for React development.

Quick Start

Implement a custom button component using CVA variants and OKLCH theming.

Frequently Asked Questions about ui-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build accessible UI components with shadcn/ui and Radix Primitives?

To build accessible UI components with shadcn/ui and Radix, apply established patterns for CVA variants, the cn() utility, and asChild composition. This approach ensures proper focus management and data-attribute styling for your React design system.

What's the best way to theme a React design system using OKLCH and Tailwind v4?

The best way to theme a React design system with OKLCH and Tailwind v4 is to implement structured token architecture rules. This covers spacing scales, typography, and interactive states to ensure modern, consistent visual theming across components.

Can I use shadcn/ui components with React Hook Form and Zod for server actions?

Yes, shadcn/ui components work seamlessly with React Hook Form, Zod, and Server Actions. The integration provides best practices for form handling, ensuring accessible inputs are properly validated and submitted within modern React applications.

How does the asChild composition pattern work in Radix UI?

The asChild composition pattern in Radix UI allows components to inherit props and behavior without adding extra DOM nodes. This mechanism merges component logic directly into a child element, preserving accessibility attributes and focus management seamlessly.

When do I need specific dialog and menu patterns for accessible React components?

You need specific dialog and menu patterns for accessible React components when building interactive overlays like modals or dropdowns. These patterns enforce correct focus management, keyboard navigation, and data-attribute styling to meet modern accessibility standards.

Does this approach support extending shadcn/ui components with custom variants?

Yes, extending shadcn/ui components is supported through CVA variants. By defining variant rules and applying the cn() utility, you can safely override or merge component styles while maintaining the underlying accessibility features of Radix Primitives.