Skip to documentation
DocsLayoutStack
Component library

Layout / COMPONENT

Stack

Web · implementedDesktop · preview

Layout vertikal/horizontal dengan spacing terkontrol.

import { Stack } from "./vendor/syne-ui/index.js";TypeScript ready
Live preview
DesignBuildShip

Interactive example · Try the controls with your mouse or keyboard.

Start with an example

Import the component and adapt it to your interface.

Example.tsxTSX
import { Stack } from "./vendor/syne-ui/index.js";

export function Example() {
  return (
    <Stack direction="horizontal" gap="sm" wrap><span>One</span><span>Two</span></Stack>
  );
}
Make it yours

Use className and --syne-* tokens to match your design system.