About
A generic bordered box for wrapping content with fixed padding, an optional border, and props to stretch full width/height or center children.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Container to your project and fits it to your theme.
Code
How Container is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Container } from "@/components/ui/container";
export default function ContainerCenteredDemo() {
return (
<div className="flex w-full items-center justify-center bg-background p-10">
<Container centered fullWidth style={{ height: 160 }}>
<p className="eink-text">Centered content</p>
</Container>
</div>
);
}







