Overview
The Bolt React Native SDK supports styling through v3 CSS custom properties using the--bolt-{target}-{property} format. You can apply styles globally to all components or on a per-element basis.
For the full list of available style tokens, see Bolt Styling Docs: Style Components v3.
Global Styles
Usebolt.configureOnPageStyles() to set styles that apply to all Bolt elements rendered in your app:
Per-Element Styles
Pass astyles object when creating a controller to apply styles to a specific element:
Updating Styles After Creation
You can update styles on a controller at any time usingsetStyles():