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.
styled
$disabled
$error