n
nonaxial
3D Container

Perspective Container

Layout

3D perspective container

perspective3dcontainer

Installation

$
npx shadcn@latest add https://nonaxial.com/r/perspective-container.json

Usage

tsx
import { PerspectiveContainer } from "@/components/nonaxial/perspective-container"

export default function Example() {
  return (
    <PerspectiveContainer>{/* Your content here */}</PerspectiveContainer>
  )
}

Props

PropTypeDefault
childrenReactNode
classNamestring