Skip to content

Row

<ts-row> vv0.4.0

The ts-row component.

Open in Storybook for interactive demos.

<ts-row align="center" gap="2" justify="start">Content</ts-row>
PropertyAttributeTypeDefaultDescription
alignalign"baseline" | "center" | "end" | "start" | "stretch"'center'Cross-axis alignment of items.
gapgapstring'2'Spacing token number controlling the gap between items.
justifyjustify"around" | "between" | "center" | "end" | "evenly" | "start"'start'Main-axis alignment of items.
reversereversebooleanfalseReverse the row direction.
stackAtstack-at"lg" | "md" | "never" | "sm"'never'Breakpoint at which the row stacks vertically.
wrapwrapbooleantrueWhether items should wrap to the next line.
NameDescription
*(default)*Default slot for row content.
<ts-row align="center" gap="2" justify="start">Content</ts-row>
import { TsRow } from '@tessera-ui/react';
<TsRow align="center" gap="2">Content</TsRow>