mica

Example

alpha
beta
gamma
delta

Basic usage

<m-hstack gap="sm">…</m-hstack>        <!-- one row, like SwiftUI -->
<m-hstack gap="sm" wrap>…</m-hstack>   <!-- allowed to wrap -->

API

Attributes

NameType/ValuesDefaultDescription
gapnone · 2xs · xs · sm · md · lg · xl · 2xlmdSets the space between children.
alignstart · center · end · stretchcenterAligns children on the vertical axis.
justifystart · center · end · betweenstartDistributes children along the horizontal axis.
wrapbooleanfalseAllows the row to wrap onto multiple lines.
← vstackzstack →