MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Radix Ui Design System

Radix Ui Design System is an design AI skill with a core value of Build accessible design systems with Radix UI primitives. It helps developers solve real-world problems in the design domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Build accessible design systems with Radix UI primitives. Headless component customization, theming strategies, and compound component patterns for production-grade UI libraries.

Last verified on: 2026-07-08

Quick Facts

Category design
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-08
Risk Level Low
mkdir -p ./skills/radix-ui-design-system && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/radix-ui-design-system/SKILL.md -o ./skills/radix-ui-design-system/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Radix UI Design System


Build production-ready, accessible design systems using Radix UI primitives with full customization control and zero style opinions.


Overview


Radix UI provides unstyled, accessible components (primitives) that you can customize to match any design system. This skill guides you through building scalable component libraries with Radix UI, focusing on accessibility-first design, theming architecture, and composable patterns.


**Key Strengths:**

- **Headless by design**: Full styling control without fighting defaults

- **Accessibility built-in**: WAI-ARIA compliant, keyboard navigation, screen reader support

- **Composable primitives**: Build complex components from simple building blocks

- **Framework agnostic**: Works with React, but styles work anywhere


When to Use This Skill


- Creating a custom design system from scratch

- Building accessible UI component libraries

- Implementing complex interactive components (Dialog, Dropdown, Tabs, etc.)

- Migrating from styled component libraries to unstyled primitives

- Setting up theming systems with CSS variables or Tailwind

- Need full control over component behavior and styling

- Building applications requiring WCAG 2.1 AA/AAA compliance


Do not use this skill when


- You need pre-styled components out of the box (use shadcn/ui, Mantine, etc.)

- Building simple static pages without interactivity

- The project doesn't use React 16.8+ (Radix requires hooks)

- You need components for frameworks other than React


---


Core Principles


1. Accessibility First


Every Radix primitive is built with accessibility as the foundation:


- **Keyboard Navigation**: Full keyboard support (Tab, Arrow keys, Enter, Escape)

- **Screen Readers**: Proper ARIA attributes and live regions

- **Focus Management**: Automatic focus trapping and restoration

- **Disabled States**: Proper handling of disabled and aria-disabled


**Rule**: Never override accessibility features. Enhance, don't replace.


2. Headless Architecture


Radix provides **behavior**, you provide **appearance**:


tsx
// ❌ Don't fight pre-styled components
<Button className="override-everything" />

// ✅ Radix gives you behavior, you add styling
<Dialog.Root>
  <Dialog.Trigger className="your-button-styles" />
  <Dialog.Content className="your-modal-styles" />
</Dialog.Root>

3. Composition Over Configuration


Build complex components from simple primitives:


tsx
// Primitive components compose naturally
<Tabs.Root>
  <Tabs.List>
    <Tabs.Trigger value="tab1">Tab 1</Tabs.Trigger>
    <Tabs.Trigger value="tab2">Tab 2</Tabs.Trigger>
  </Tabs.List>
  <Tabs.Content value="tab1">Content 1</Tabs.Content>
  <Tabs.Content value="tab2">Content 2</Tabs.Content>
</Tabs.Root>

---


Getting Started


Installation


bash
# Install individual primitives (recommended)
npm install @radix-ui/react-dialog @radix-ui/react-dropdown-menu

# Or install multiple at once
npm install @radix-ui/react-{dialog,dropdown-menu,tabs,tooltip}

# For styling (optional but common)
npm install clsx tailwind-merge class-variance-authority

Basic Component Pattern


Every Radix component follows this pattern:


tsx
import * as Dialog from '@radix-ui/react-dialog';

export function MyDialog() {
  return (
    <Dialog.Root>
      {/* Trigger the dialog */}
      <Dialog.Trigger asChild>
        <button className="trigger-styles">Open</button>
      </Dialog.Trigger>

      {/* Portal renders outside DOM hierarchy */}
      <Dialog.Portal>
        {/* Overlay (backdrop) */}
        <Dialog.Overlay className="overlay-styles" />
        
        {/* Content (modal) */}
        <Dialog.Content className="content-styles">
          <Dialog.Title>Title</Dialog.Title>
          <Dialog.Description>Description</Dialog.Description>
          
          {/* Your content here */}
          
          <Dialog.Close asChild>
            <button>Close</button>
          </Dialog.Close>
        </Dialog.Content>
     

🎯 Best For

  • UI designers
  • Product designers
  • Claude users
  • Designers
  • Creative professionals

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Design system documentation
  • Component specification creation

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Radix Ui Design System to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

Does Radix Ui Design System generate production-ready design specs?

It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.

How do I install Radix Ui Design System?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/radix-ui-design-system/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills