Container

Installation

Add the component with the CLI.

npx shadcn@latest add @intentui/container

Manual installation

Install the dependencies, then copy the component source into your project.

npm install cn

Examples

Constrained

Set constrained to remove horizontal padding below the sm breakpoint. It defaults to false.

<Container constrained />

Component API

Container

Container extends the native <div> element.

classNamestring
constrainedboolean
Default: false
Design