Home
  • Welcome
  • Box
  • Button
  • Card
  • Divider
  • Logo
  • Stack
  • Tag
  • TextLink
  • Theme
  • Typography

Stack

Stack component is a core layout component that enables uniform spacing between children.

import { Stack } from 'design-system/stack';

Gap

The gap prop expects any of our theme spacing tokens.

Card in a Stack.

Card in a Stack.

Card in a Stack.

Orientation

Orientation changes the direction of the Stack.

Card in a Stack.

Card in a Stack.

Card in a Stack.


  • Home
  • About
  • Blog
  • Design System
© Copyright 2021 Nathan Simpson. Made in Sydney Australia.