elegant-design

Designs responsive, accessible web interfaces with React and modern CSS.

126|7|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/rand/cc-experiments --skill elegant-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elegant-design
Source: https://github.com/rand/cc-experiments/tree/main/skills/elegant-design
Command: npx skills add https://github.com/rand/cc-experiments --skill elegant-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires shadcn-ui, daisyui, heroui, react-markdown, remark-gfm, rehype-sanitize, react-syntax-highlighter, shiki, diff-match-patch, react-window, and includes references (resource) components.

What problem does it solve?

Building truly world-class, accessible, and responsive user interfaces with complex interactive elements (like chat or code editors) is a significant challenge. This skill provides a comprehensive, modular system to guide you through every step, ensuring professional polish and developer-focused features without the usual complexity.

Core Features & Use Cases

  • Sophisticated UI Elements: Master chat interfaces, terminals, code display, streaming content, and diff/log viewers with best practices for design and implementation.
  • Accessibility & Performance: Ensures WCAG AA compliance and Core Web Vitals optimization from the start, making your UIs fast and inclusive.
  • Design System Integration: Guides you in leveraging popular design systems like shadcn/ui, daisyUI, and HeroUI for efficient and consistent development.
  • Use Case: When building a new developer tool with an integrated terminal and code editor, this skill will guide you through typography, color systems, responsive layouts, ANSI color support, syntax highlighting, and accessibility, ensuring a polished and functional experience.

Quick Start

Design a responsive, accessible chat interface for a web application, ensuring it handles streaming messages and markdown.

Frequently Asked Questions about elegant-design

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

FAQPage Schema
How do I build an accessible, responsive chat interface with React?

Build accessible chat interfaces by applying WCAG 2.1 AA compliance, keyboard navigation, semantic HTML, and responsive layouts. This Skill guides you through typography, color tokens, streaming message handling, and markdown rendering using React with shadcn/ui, daisyUI, or HeroUI design systems for consistent, performant results.

How can I display code with syntax highlighting and diff support in a web app?

Display code elegantly using syntax highlighting, ANSI color support, and diff viewers with react-syntax-highlighter and shiki. This Skill covers terminal-like code display, diff-match-patch integration, virtualization for performance, and accessibility considerations for developer tools built with React and Next.js.

What's the best way to ensure responsive design across mobile and desktop?

Responsive design combines mobile-first layout strategies, flexible typography and color systems, and progressive disclosure of UI elements. This Skill provides atomic design architecture and component patterns using popular design systems to deliver consistent, performant interfaces across all screen sizes.

Can I use shadcn/ui, daisyUI, and HeroUI together in the same project?

Yes, this Skill shows how to leverage multiple design systems like shadcn/ui, daisyUI, and HeroUI in a single React or Next.js project. It guides integration patterns, token alignment, and component composition to maintain consistency while benefiting from each system's strengths.

How do I optimize web performance for complex interactive UIs?

Optimize performance by virtualizing long lists with react-window, lazy-loading components, and applying Core Web Vitals best practices. This Skill covers architecture patterns, efficient rendering for streaming content, and accessibility-first optimization to deliver fast, inclusive interfaces.

What accessibility standards should my UI meet for compliance?

Aim for WCAG 2.1 AA compliance, which covers keyboard navigation, semantic HTML, color contrast, focus management, and screen reader support. This Skill embeds these standards into component design, responsive layouts, and code display patterns for chat interfaces and developer tools.