Search

PythonReactSEOPDF
GitHub Skill

css-modules

CSS Modules patterns, composition, variables, and build configuration.

a5c-ai☆ 417 Repository stars21 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

CSS Modules Skill

Expert assistance for scoped styling with CSS Modules.

Capabilities

  • Configure CSS Modules
  • Write scoped styles
  • Implement composition
  • Use CSS variables
  • Handle theming

Usage Pattern

/* Button.module.css */
.button {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  composes: reset from './reset.module.css';
}

.primary {
  composes: button;
  background: var(--color-primary);
  color: white;
}
import styles from './Button.module.css';

<button className={styles.primary}>Click me</button>

Target Processes

  • react-application-development
  • component-styling
  • design-system

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-03-11
Index updated
2026-03-11
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!