What problem does it solve? Implementing dialogs, popovers, selects, and other interactive React components from scratch often breaks keyboard navigation, focus management, and ARIA semantics. This Skill guides the correct selection, composition, and styling of Base UI primitives so interactions stay accessible without hand-rolled state logic. ## Core Features & Use Cases - Primitive Selection: Chooses the smallest semantic primitive for the task, such as Dialog for modals, AlertDialog for confirmations, Popover for anchored content, and Tooltip for hints. - Design System Integration: Applies project styles through className, render, slot, and state/data-attribute APIs without imposing a generic theme, with Tailwind v3/v4 syntax translation. - Accessibility Verification: Enforces keyboard-only testing, focus return, programmatic label/description association, and correct modal versus non-modal overlay behavior. - Use Case: When adding a confirmation dialog to a React app, the Skill selects AlertDialog, wires controlled open state correctly, preserves the host design system styling, and verifies Escape dismissal and focus return. ## Quick Start Use the base-ui skill to implement an accessible dropdown menu component with Base UI primitives styled to match my project.