Components
Stack
Code

Stack

NOTE: Exotic components are not callable.

Parameters

props

  • Type: @vtex/shoreline-components.StackProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

align (optional)

items alignment

  • Type: end | start

  • Default: start

direction (optional)

direction of items

  • Type: row | column

  • Default: column

fluid (optional)

if the items should grow in width to match the container

  • Type: boolean

  • Default: false

space (optional)

space between items

  • Type: string

  • Default: 0

View source (opens in a new tab)