components

Create composable, accessible React components with design tokens.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/krishna-cyber/plate_js_rich_text_editor --skill components-krishna-cyber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: components
Source: https://github.com/krishna-cyber/plate_js_rich_text_editor/tree/main/.agents/skills/components
Command: npx skills add https://github.com/krishna-cyber/plate_js_rich_text_editor --skill components-krishna-cyber

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a guide for creating composable, accessible React components, addressing the challenge of maintaining both usability and design integrity in component libraries.

Core Features & Use Cases

  • Accessibility Guide: Offers comprehensive principles and patterns for accessible web components.
  • Component Composition: Teaches best practices for building flexible, reusable components.
  • Data Attributes: Explains how to use data attributes for styling and identifying components.
  • Design Tokens: Provides a framework for a flexible, maintainable theming system.
  • Usage Example: Use this Skill to learn how to create a reusable modal component that's both accessible and follows modern UI composition principles.

Quick Start

To create a modal component, follow the accessibility guidelines and composition best practices outlined in this Skill.

Frequently Asked Questions about components

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

FAQPage Schema
How do I build accessible React components for a UI library?

Build accessible React components by following accessibility principles and composition patterns. This Skill provides guidelines for creating reusable UI components that maintain proper ARIA support, keyboard navigation, and screen reader compatibility without sacrificing flexibility.

What is component composition in React and when should I use it?

Component composition is the practice of building flexible UIs by combining smaller, reusable pieces rather than hardcoding configurations. Use this approach when creating component libraries or applications where maintainability, reusability, and adaptability across multiple use cases are required.

How do I create a flexible theming system using design tokens?

Create a theming system using design tokens by defining reusable variables for visual properties like color, spacing, and typography. This Skill outlines a framework for implementing these tokens to ensure maintainable and consistent theming across your React components.

Can I use data attributes for styling and identifying React components?

Yes, you can use data attributes for styling and identifying React components. This Skill explains how to leverage data attributes as a strategy for targeting components in stylesheets and managing component states without relying on verbose class names.

What is the best way to structure a reusable and accessible modal component?

The best way to structure a reusable modal component is to follow UI composition principles and accessibility guidelines. This Skill provides a usage example demonstrating how to build a modal that is both flexible for developers and accessible to end users.