1. Primitives
  2. Stack

<Stack />

The Stack component is used to place elements on top of each other.
<Stack padding={4} space={[3, 3, 4, 5]}>
<Card>
<Text size={[2, 2, 3, 4]}>foo</Text>
</Card>
<Card>
<Text size={[2, 2, 3, 4]}>bar</Text>
</Card>
<Card>
<Text size={[2, 2, 3, 4]}>baz</Text>
</Card>
</Stack>

Properties  

as?: React.ElementType | keyof JSX.IntrinsicElements
space?: number | number[]
Made withby folks at