Default padding
Constrained padding
"use client"
import { Container } from "@/components/ui/preskok-ui/container"
export function ContainerPreskokDemo() {
return (
<div className="space-y-2">
<Container className="bg-muted p-4">Default padding</Container>
<Container constrained className="bg-muted p-4">
Constrained padding
</Container>
</div>
)
}
Installation
pnpmnpmyarnbunpnpm dlx @preskok-org/ui@latest add container
Usage
import { Container } from "@/registry/preskok/ui/preskok-ui/container"
export function ContainerDemo() {
return (
<>
<Container className="bg-muted p-4">Default padding</Container>
<Container constrained className="bg-muted mt-2 p-4">
Constrained padding
</Container>
</>
)
}