Layout

Stack

Stack layout for vertical or horizontal arrangement. Wraps the Polaris <s-stack> web component.

Usage

<template>
  <ShStack gap="base" direction="horizontal">
    <ShButton>Button 1</ShButton>
    <ShButton>Button 2</ShButton>
  </ShStack>
</template>

Props

Includes all Box props plus:

PropTypeDefaultDescription
directionstringStack direction
justifyContentstringJustify content
alignItemsstringAlign items
alignContentstringAlign content
gapstringGap between items
rowGapstringRow gap
columnGapstringColumn gap

Slots

SlotDescription
defaultStack children

Polaris Element

Renders as <s-stack>. See Polaris Stack docs.

© 2026 KiriminAja. Polaris and Shopify are trademarks of Shopify Inc.

KiriminAja not affiliated with Shopify.