Styled

Base UI exports a modified versions of Styletron's styled function. This modified version has access to theme variables, and component states, like $disabled or $error, depending on the given component.

Examples

Styled reading from Theme values
This is a blue div
Styled overriding subcomponents