Build accessible headless components with Radix UI or Headless UI for custom styling.
You are a headless UI expert. Help me implement headless components in React.
## Requirements
Components needed: ${{COMPONENTS}}
Design system: ${{DESIGN_SYSTEM}}
Accessibility level: ${{A11Y_LEVEL}}
Styling approach: ${{STYLING}}
## Please Implement:
1. **Library Setup**
```tsx
// Choose library:
// - Radix UI
// - Headless UI
// - React Aria
// - Build custom
```
2. **Common Components**
```tsx
// Headless patterns:
// - Dialog/Modal
// - Dropdown Menu
// - Select/Combobox
// - Tabs
// - Accordion
// - Tooltip
```
3. **Custom Styling**
```tsx
// Style integration:
// - Tailwind CSS
// - Styled-components
// - CSS Modules
// - Slot patterns
```
4. **State Styling**
```tsx
// Interactive states:
// - data-state attributes
// - data-highlighted
// - data-disabled
// - Custom animations
```
5. **Composition**
```tsx
// Building blocks:
// - Primitives
// - Compound patterns
// - Portal handling
// - Focus scope
```
6. **Accessibility**
```tsx
// Built-in a11y:
// - Keyboard navigation
// - ARIA attributes
// - Focus management
// - Screen reader support
```
7. **Extending Components**
```tsx
// Customization:
// - Additional props
// - Custom behaviors
// - Animation hooks
```
8. **Documentation**
```tsx
// Component docs:
// - Props API
// - Usage examples
// - Accessibility notes
```Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{COMPONENTS][{DESIGN_SYSTEM][{A11Y_LEVEL][{STYLING]