Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions resources/views/docs/mobile/4/edge-components/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@ Independent of the mutually-exclusive slot above, a row can also show a stack of
`icon` is a shared [icon](icon) name, `ios` / `android` override it per platform, and `color` takes any
[color value](../digging-deeper/theming#color-values).

### Trailing appearance

- `trailingTextStyle` - Size of `trailingText`: `headline` matches the headline size; `label` uses a small caption
- `trailingAlign` - Vertical alignment of both the leading and trailing slots: `center` or `top`. On Android,
`center` also uses two-line row spacing

Both props are optional. When omitted, each platform keeps its defaults: iOS uses headline-sized trailing text
and centered slots; Android uses a small trailing label and top-aligns slots in rows with both overline and
supporting text. Set `trailingTextStyle="headline" trailingAlign="center"` for headline-sized, centered trailing
text on both platforms.

### Color overrides

All color props accept the full [color grammar](../digging-deeper/theming#color-values) — hex (including
Expand Down Expand Up @@ -308,6 +319,8 @@ Trailing slot:

- `trailingIcon(?string $name = null, IosSymbol|string|null $ios = null, AndroidSymbol|string|null $android = null)`
- `trailingText(string $text)`
- `trailingTextStyle(string $style)` - `headline` or `label`
- `trailingAlign(string $align)` - `center` or `top`
- `trailingCheckbox(bool $checked = false)`
- `trailingSwitch(bool $checked = false)`
- `trailingIconButton(?string $name = null, IosSymbol|string|null $ios = null, AndroidSymbol|string|null $android = null)`
Expand Down