Spinner
Render an Astryx loading spinner.
Astryx Props
JSON-safe Spinner props forwarded to Astryx.
Supported Astryx props include:
size('sm' or 'md' or 'lg'): Spinner size (10px, 14px, 18px).shade('default' or 'onMedia' or 'subtle' or 'inherit'): Color shade for light or dark backgrounds.label(ReactNode): Visible content below the spinner. String labels auto-set aria-label.aria-label(string): Accessible name for screen readers. Defaults to label (if string) or "Loading".xstyle(StyleXStyles): StyleX styles for layout customization (margins, positioning, sizing). Must be a stylex.create() value, not an inline style object like style={{}}.
Props typed as React nodes, render functions, event handlers, refs, or StyleX styles are documented for Astryx parity but cannot be serialized directly from Python unless the wrapper adapts them.
See Astryx component docs: https://astryx.atmeta.com/components/Spinner.
Functions
constructor__init__(*, label='Loading', size=None, shade=None, **props) -> Noneparamlabelstr= 'Loading'Visible or accessible label for the component.
paramsizestr | None= NoneSpinner size.
paramshadestr | None= NoneSpinner color treatment for its background.
parampropsAny= {}Returns
None