ui-components

Standardize reusable UI primitives with Radix, CVA, Tailwind, Storybook, and accessibility tests.

20|5|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/tale-project/tale --skill ui-components-tale-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-components
Source: https://github.com/tale-project/tale/tree/main/.claude/skills/ui-components
Command: npx skills add https://github.com/tale-project/tale --skill ui-components-tale-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The contract for UI primitives across Tale's library is complex and inconsistently implemented. This skill standardizes the creation and usage of shared UI primitives by specifying Radix-based behavior, CVA + Tailwind styling, Storybook stories, and accessibility checks, ensuring a cohesive design system.

Core Features & Use Cases

  • Radix-based primitives with accessible ARIA semantics and keyboard interactions.
  • CVA-based styling paired with Tailwind v4 tokens for consistent theming and responsive design.
  • A Storybook-driven story per primitive and a repo-wide styling reference for token behavior and motion settings.
  • Accessibility checks integrated into the component workflow and cross-locale labeling guidance.

Quick Start

Follow the project conventions to edit or create a UI primitive under packages/ui/src/components, add its Storybook story, and ensure an accessibility check passes.

Frequently Asked Questions about ui-components

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

FAQPage Schema
How do I build accessible UI primitives with Radix and Tailwind?

To build accessible UI primitives with Radix and Tailwind, you create components using Radix for ARIA semantics and CVA paired with Tailwind v4 tokens for consistent theming and responsive design.

What is the standard way to add a Storybook story for a design system component?

The standard way to add a Storybook story for a design system component is to include it alongside the primitive under packages/ui/src/components, ensuring the component's behavior and accessibility are documented and verified.

Does CVA work with Tailwind v4 tokens for responsive design?

CVA works with Tailwind v4 tokens to provide consistent theming and responsive design across UI primitives, allowing you to apply structured variant styles directly within your component logic.

How do I test accessibility for Radix UI components?

You test accessibility for Radix UI components by integrating accessibility checks directly into the component workflow, ensuring keyboard interactions and ARIA semantics pass before finalizing the primitive.

Can I use custom scripts and references when standardizing UI components?

You can use custom scripts and references when standardizing UI components by including optional scripts, references, or assets directories alongside the required YAML frontmatter that documents usage conventions.

Why do my shared UI components have inconsistent styling across the library?

Shared UI components have inconsistent styling across the library when they lack a standardized contract for styling and behavior, which this approach solves by enforcing CVA, Tailwind tokens, and Radix-based primitives.