
Season 5 · Episode 27
Exposing internal styles from design system
Taranveer asked this on 2026-03-08
March 9, 20264m 4s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
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 systemTopics
design systeminternal stylescomponent libraryCVACLSX