TradeWidget supports the following appearance props:
themevarsclassNamestyle
Built-in themes
TradeWidget:"dark"
Override theme variables
Usevars to override the widget’s CSS variables.
vars object supports these fields:
For
TradeWidget, the main widget surfaces stay square by default. Set radius only when you want rounded panels. Use actionButtonRadius when you want to round the main bottom CTA independently.
The bundled themes use Roboto Mono and the stylesheet imports that font from Google Fonts. If you want to keep typography fully local to your app, override fontFamily. If you use a non-system font, load that font in the host app before passing it to the widget.
Powered by Delora label
TradeWidget shows a theme-aware Powered by Delora label below the widget by
default. The white artwork is used with the dark theme and the black artwork is
used with the light theme. Selecting the label opens
https://delora.build/ in a new tab.
Use poweredByDeloraPosition to align the label:
"left""center"(default)"right"
Use host styling props
className and style are applied to the widget root.
style is merged after the generated CSS variables, so it is the last inline layer applied to the root element.
Style isolation
The widget does not use Shadow DOM. Instead, it relies on scoped CSS:- all widget styles live under
[data-delora-widget-root] - the package does not ship Tailwind preflight
- the widget sets its own typography and box model under the scoped root

