Skip to documentation
DocsLayoutContainer
Component library

Layout / COMPONENT

Container

Web · implementedDesktop · preview

Wrapper lebar konten dengan alignment konsisten.

import { Container } from "./vendor/syne-ui/index.js";TypeScript ready
Live preview
Centered content with responsive padding.

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 { Container } from "./vendor/syne-ui/index.js";

export function Example() {
  return (
    <Container>Centered content</Container>
  );
}
Make it yours

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