Castle logo

CASTLE UI

Search

K

Stack is a standalone layout component which positions elements vertically by default, adding space between each element.

Usage

Import

import { Stack } from '@passfort/castle'

Copy

Example

The Stack container uses flexbox under the hood.

Copy

live example

Responsive Styles

A Stack can be made responsive with Breakpoints.

import { Breakpoints } from '@passfort/castle'

Copy

Copy

live example

Contents