A standardized framework for building reusable, type-safe UI components using Surface primitives and class-variance-authority.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install design-system-components
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install design-system-components using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Design System Components skill provides a professional architecture for developing scalable UI libraries that strictly adhere to design tokens. By utilizing Openclaw Skills, developers can implement the Surface primitive pattern, which provides a single, unified component for all layered UI elements like panels, tiles, and chips.
This approach leverages the power of class-variance-authority (CVA) to manage complex component states and styles in a type-safe manner. It ensures that styling remains consistent across an entire application while allowing for high flexibility through variant-based APIs, making it an essential resource for teams building modern design systems with React and Tailwind CSS.
To implement these patterns, first install the required dependencies in your project:
npm install class-variance-authority clsx tailwind-merge
Ensure you have a utility function for merging Tailwind classes effectively:
// lib/utils.ts
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
The skill organizes design system data through a structured variant taxonomy within CVA objects:
| Component Type | Variant Keys | Metadata Details |
|---|---|---|
| Surface | layer, interactive, glow | Defines depth, interactivity, and shadow effects. |
| Button | variant, size | Manages aesthetic intent (destructive, cyber) and scale. |
| Metric | size, trend | Handles mono-spaced numeric displays and positive/negative trends. |
| Badge | variant | Controls status indicators (success, warning, etc.). |
| Card | Layout Props | Manages title, description, and action slots via composition. |
Loading
An AI-driven architectural designer that generates comprehensive blueprints for Uniswap protocol integrations.

A specialized skill for architecting Uniswap V4 hooks, focusing on callback logic, state management, and security design without generating code.

Automate the end-to-end lifecycle of launching ERC-20 tokens on Uniswap V4 with enterprise-grade security hooks and liquidity management.

A structured meta-skill for making confident, traceable engineering choices through proven frameworks like RICE scoring, MoSCoW, and ADRs.

A comprehensive workflow for architecting distinctive, token-driven design systems from aesthetic foundation to component implementation.

A foundational skill for architecting scalable design systems through multi-layer token hierarchies, automated pipelines, and robust theming infrastructure.








































