Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Row

Lay out child widgets in a horizontal row.

Import

from manywidgets import Row

Example

A slider beside the Stat it drives:

API

TraitTypeDefaultDescription
childrenList—Child widgets, left to right.
gapUnicode'8px'CSS gap between children.
alignUnicode'stretch'CSS align-items (cross axis).
widget_idUnicode''Stable unique id used for cross-widget linking (auto-assigned).

Pass children positionally (Row(a, b)) or as a list (Row(children=[a, b])).

See Layout for how Row, Column, and Grid compose into a full screen.