AnyLumino
API referenceastryxsurfaces

Divider

Render an Astryx divider.

Astryx Props

JSON-safe Divider props forwarded to Astryx.

Supported Astryx props include:

  • orientation ('horizontal' or 'vertical'): Orientation of the divider.
  • label (ReactNode): Optional label centered on the divider.
  • variant ('subtle' or 'strong'): Visual weight of the divider line.
  • isFullBleed (boolean): Extend the divider to container edges with negative margins.
  • 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/Divider.

Functions

constructor__init__(*, orientation='horizontal', variant='subtle', label=None, full_bleed=None, **props) -> None
paramorientationstr
= 'horizontal'

Astryx component option.

paramvariantstr
= 'subtle'

Astryx visual variant.

paramlabelstr | None
= None

Optional text centered on the divider.

paramfull_bleedbool | None
= None

Whether the divider extends to the container edges.

parampropsAny
= {}

Returns

None

On this page