Patterns
CSS Module import
Import a .module.css mapping with a supported build tool; local class names are transformed, but the cascade still applies.
Formal Syntax & Structure
react syntaxreact
import styles from "./Card.module.css";Working Example
Example Snippetreact
<article className={styles.card} />