Skip to main content

Module rows

Module rows 

Source
Expand description

The row constructors (docs/settings.md). Use them qualified (rows::toggle(..)): several share a name with a piece in the Day prelude.

Functions§

action
A command row: a button with the title. Row::destructive, Row::confirm, Row::busy.
choice
A one-of-N row: options pairs each value with its label. Menu by default; Row::segmented for a few short labels.
custom
Any piece as a row, inside the section’s card.
info
A read-only title/value pair. Row::copyable.
link
A row that opens url in the platform’s handler.
navigate
A row that pushes a sub-page built by build (a chevron row).
note
A footnote paragraph inside a section.
slider
A continuous value over range.
stepper
A small integer with increment/decrement controls.
text
A free-text value; every edit persists.
toggle
An on/off row bound to a Pref<bool>.