StylishHorizontalSpacer

fun StylishHorizontalSpacer(spacing: Dp = StylishTheme.dimensions.inlineSpacing, modifier: Modifier = Modifier)

A horizontal spacing element that inserts a fixed-width gap between siblings, backed by the Stylish Rhythm spacing scale. Use it for one-off horizontal gaps; for the standard smallest step (icon-to-label), prefer StylishInlineSpacer.

Parameters

spacing

The width of the gap. Defaults to StylishTheme.dimensions.inlineSpacing.

modifier

Modifier applied to the Spacer.

See also