Skip to contentSkip to navigationSkip to topbar
Paste assistant Assistant
Figma
Star

Stack

Version 8.1.0GithubStorybook

A horizontal and vertical flow component used to create space between components.

Installation

Installation page anchor
yarn add @twilio-paste/stack
import {Stack} from '@twilio-paste/core/stack';

<Stack orientation="vertical" spacing="space40">
  Foo
</Stack>;

Stack

Stack page anchor

as

Type
any

element

Overrides the default element name to apply unique styles with the Customization Provider

Type
any
Default
'STACK'

orientation

Type
any

spacing

Type
any