ui-atom

Define atomic UI components with frontmatter metadata, code patterns, and accessibility standards for React, Vue, or vanilla JS projects.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/grvpanchal/elegant-opencode --skill ui-atom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-atom
Source: https://github.com/grvpanchal/elegant-opencode/tree/main/skills/ui-atom
Command: npx skills add https://github.com/grvpanchal/elegant-opencode --skill ui-atom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Atoms provide the fundamental building blocks of UI—single-purpose components that are highly reusable and enable consistent design across apps.

Core Features & Use Cases

  • Single-responsibility components: each atom handles one task (e.g., Button, Input, Icon) and is framework-agnostic.
  • Design-token integration: atoms consume tokens from the theme to ensure visual consistency.
  • Accessibility-first: atoms include proper ARIA attributes and semantic HTML.

Quick Start

Create a minimal Button atom that accepts primitive props and adheres to design tokens and accessibility guidelines.

Frequently Asked Questions about ui-atom

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

FAQPage Schema
How do I build consistent UI components using atomic design principles?

Atomic design for UI components means breaking interfaces into single-purpose, reusable building blocks like buttons and inputs. These atoms consume shared design tokens for visual consistency and serve as the foundation for larger component compositions in framework-agnostic libraries.

How do I ensure accessibility is included in atomic UI building blocks?

Accessibility in atomic UI building blocks is enforced by including proper ARIA attributes and semantic HTML directly within the atom definitions. This ensures single-responsibility components like Input or Button provide a consistent, accessible foundation for all larger composite components.

Does this atomic UI component approach work with Vue and vanilla JS projects?

Yes, this atomic UI component approach works with React, Vue, and vanilla JS projects. The atoms are framework-agnostic, single-responsibility components that enforce consistent design tokens and accessibility standards across any JavaScript-based component library or design system.

What's the best way to enforce design tokens in a component library?

The best way to enforce design tokens in a component library is to integrate them directly into single-responsibility atomic UI building blocks. By making atoms consume theme tokens, you guarantee visual consistency and ensure every primitive component adheres to the defined design system standards.

When should I not use atomic design for my frontend component library?

Atomic design might not be suitable if your frontend project requires highly specialized, monolithic components rather than reusable single-responsibility building blocks. If your team does not maintain shared design tokens or requires complex components that cannot be decomposed into primitive atoms, this approach may introduce unnecessary abstraction.