Vertical/horizontal flex container.
import { Stack } from "@/components/ui";Vertical (default)
Horizontal
<Stack gap="md">
<Card>Item 1</Card>
<Card>Item 2</Card>
<Card>Item 3</Card>
</Stack>Row direction
<Stack direction="row" gap="md"> <Button>Button 1</Button> <Button>Button 2</Button> <Button>Button 3</Button></Stack>Different spacing options
<Stack gap="xs">Extra small gap</Stack><Stack gap="sm">Small gap</Stack><Stack gap="md">Medium gap (default)</Stack><Stack gap="lg">Large gap</Stack><Stack gap="xl">Extra large gap</Stack>Control alignment
<Stack direction="row" align="center" justify="between" className="w-full"> <Logo /> <nav className="flex gap-4"> <NavLink href="/home">Home</NavLink> <NavLink href="/about">About</NavLink> </nav> <Button>Sign In</Button></Stack>Configure your app with the features you need and download production-ready code.
Start Configuring