components.styles

Installation
SKILL.md

Goal: Add styles API (styles, classNames, and static classNames) to a CDS component and/or update the component documentation with styles documentation.

If no component name is provided, ask the user which component they want to add styles to.

Step 1: Locate the Component

Find the component source file:

packages/web/src/[source-category]/[ComponentName].tsx              # for web
packages/mobile/src/[source-category]/[ComponentName].tsx           # for mobile
packages/web-visualization/src/[source-category]/[ComponentName].tsx    # for web visualization
packages/mobile-visualization/src/[source-category]/[ComponentName].tsx # for mobile visualization

Step 2: Evaluate Component Structure

⚠️ IMPORTANT: Adding styles/classNames props is a commitment to the component's internal structure.

Related skills
Installs
2
Repository
coinbase/cds
GitHub Stars
472
First Seen
Apr 13, 2026