A generic <div> wrapper that accepts all native HTML div attributes. Use it when you need a themeable block container without pulling in Card or other semantic wrappers.
import { Container } from '@bgunnarsson/react-primitives'<Container className="mx-auto max-w-5xl px-4">
{children}
</Container>- Renders as
<div>. For semantic landmarks useHeader,Footer, orNav. - Accepts every
React.HTMLAttributes<HTMLDivElement>prop.