Stack
A vertical layout primitive for consistent spacing.
#Default usage
Gap can be a number or CSS size.
#Usage
import { Button, Stack } from "@froggdesign/enter-ui";
export function Example() {
return (
<Stack gap={12}>
<Button>Primary action</Button>
<Button variant="secondary">Secondary action</Button>
<p className="docs-preview-muted">Gap can be a number or CSS size.</p>
</Stack>
);
}#Accessibility
Stack is layout-only and does not change child semantics.
#API
gapaccepts a number or CSS size.align:start,center,end, orstretch.- Extends div props.
#Styling
Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.
