epic-ui-guidelines

Guides React developers to implement accessible UI components with Tailwind CSS and Radix UI.

5.5k|464|Updated May 4, 2023
One-click install
npx skills add https://github.com/epicweb-dev/epic-stack --skill epic-ui-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-ui-guidelines
Source: https://github.com/epicweb-dev/epic-stack/tree/main/docs/skills/epic-ui-guidelines
Command: npx skills add https://github.com/epicweb-dev/epic-stack --skill epic-ui-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps teams build accessible, consistent UI components across the Epic Stack by providing clear patterns, usage conventions, and design tokens.

Core Features & Use Cases

  • Accessibility-first UI patterns covering semantic HTML, ARIA, and keyboard navigation.
  • Tailwind CSS and Radix UI usage guidelines to ensure consistent styling and accessible interactions.
  • Patterns for responsive layouts, color contrast, typography, and focus management across projects.
  • Use cases include building a new form, a modal, or a dashboard component that adheres to Epic Stack UI conventions.

Quick Start

To begin, align new components with semantic HTML, accessible ARIA attributes, and Tailwind/Radix UI patterns described here; ensure responsive and accessible defaults from the start.

Frequently Asked Questions about epic-ui-guidelines

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

FAQPage Schema
How do I build accessible React components with Tailwind CSS and Radix UI?

To build accessible React components with Tailwind CSS and Radix UI, use semantic HTML, proper ARIA attributes, and keyboard navigation patterns. This ensures consistent styling and accessible interactions across forms, dialogs, and navigation.

What is the best way to manage focus and color contrast in React dialogs?

Managing focus and color contrast in React dialogs involves applying accessible ARIA attributes and responsive layout patterns. Using Radix UI helps enforce correct focus management and semantic structure for modal interactions.

Can I use these UI patterns for forms and dashboards in any React project?

Yes, you can use these UI patterns for forms and dashboards in any React project. The guidelines apply across component libraries, pages, and layouts, ensuring your components adhere to established UI conventions.

Does Epic UI design require specific frontmatter for skill entries?

Yes, Epic UI design requires a frontmatter-defined skill entry with specific name and description fields. This structural requirement ensures the UI guidelines are properly documented and applied across the development workflow.

Why does keyboard accessibility matter when building navigation components?

Keyboard accessibility matters when building navigation components because it ensures users can navigate without a mouse. Implementing semantic HTML and ARIA attributes provides the necessary structure for screen readers and keyboard focus management.

When do I need ARIA attributes for accessible UI components?

You need ARIA attributes for accessible UI components whenever native semantic HTML does not convey the necessary interaction or state. They are essential for ensuring screen readers properly interpret forms, dialogs, and dynamic navigation patterns.

Related Skills