Skip to content
Artwork for The Call Kent Podcast
The Call Kent Podcast · March 9 · 4 min

Exposing internal styles from design system

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

0:00-4:04

transcript

No transcript — this publisher did not publish one.

show notes

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
links1