Sveriges mest populära poddar
The Call Kent Podcast

Exposing internal styles from design system

4 min9 mars 2026

A caller wants to expose internal styles from their component library to consumers. Kent suggests using a variable to export the class names and using a library like CVA to create multiple variants of a set of class names. He also recommends against using disabled buttons as a workaround and instead suggests creating individual components for each use case.

Exposing internal styles from design system

Fler avsnitt av The Call Kent Podcast

Visa alla avsnitt av The Call Kent Podcast

The Call Kent Podcast med Kent C. Dodds finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.