radix-primitives

Guide developers in building accessible React UI components with Radix Primitives.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/goddard-ai/goddard-app --skill radix-primitives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: radix-primitives
Source: https://github.com/goddard-ai/goddard-app/tree/main/.agents/skills/radix-primitives
Command: npx skills add https://github.com/goddard-ai/goddard-app --skill radix-primitives

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Radix Primitives provide a low-level, accessible UI foundation for building consistent, keyboard-friendly components.

Core Features & Use Cases

  • Composable, unstyled primitives: Build custom design systems with guaranteed accessibility and a consistent part tree.
  • AsChild and portal support: Seamlessly wrap primitives to integrate with existing components and manage focus and overlay behavior.
  • SSR, RTL, and animation readiness: Works with server-side rendering, right-to-left layouts, and optional animation pipelines.

Quick Start

Create a new React component using Radix primitives to implement an accessible modal with proper focus management.

Frequently Asked Questions about radix-primitives

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

FAQPage Schema
How do I build accessible React components with Radix Primitives?

Build accessible React components by composing unstyled Radix Primitives like Dialog and Popover into a valid part tree, managing state, and applying the asChild prop to integrate existing elements while maintaining keyboard and screen reader support.

What is the asChild prop in Radix UI used for?

The asChild prop in Radix UI allows a primitive to render its child element instead of a default DOM node, seamlessly merging its accessibility behaviors and event handling into your custom components without adding wrapper elements.

Do Radix Primitives work with server-side rendering and RTL layouts?

Radix Primitives fully support server-side rendering (SSR) and right-to-left (RTL) layouts out of the box, ensuring accessible interactive overlays function correctly across different rendering environments and text directions.

How do Radix Primitives handle focus management for overlays?

Radix Primitives manage focus for overlays using built-in portal behavior, automatically trapping focus within dialogs and tooltips while ensuring keyboard navigation cycles correctly and returns to the trigger upon closure.

What's the best way to structure a custom modal using Radix UI?

Structure a custom modal using Radix UI by composing the required part tree—Root, Trigger, Portal, Overlay, and Content—ensuring proper state handling and focus management for a fully accessible dialog overlay.

Can I use Radix Primitives to build a custom design system?

Use Radix Primitives to build a custom design system by leveraging their unstyled, pattern-driven foundation, which guarantees consistent API design and accessibility across menus, tooltips, and popovers without imposing visual styles.