Styling
Customize the look and feel of WorkOS Widgets.
WorkOS Widgets are powered by Radix Themes, which provides beautiful default styles with zero configuration. The fastest way to style your Widgets is with the theme prop.
This prop is provided to the WorkOsWidgets component rendered at the top of your application. All Widgets will inherit styles configured in the theme prop.
See the theme customization guide for more details on theme prop.
If you choose not to use the theming capabilities in Radix Themes, you can style Widgets using CSS. Individual elements in Widgets are accessible via CSS class selectors prefixed with woswidgets-. For example, you can add your own button styles by selecting the woswidgets-button class.
See the CSS customization guide for more details on styling Widgets with CSS.