Cylinder

A cylinder primitive with variants, sizes, and animation support.

Preview

Usage

tsx
import { Scene, Cylinder } from "@3d-ui/components"

export function MyCylinder() {
  return (
    <Scene>
      <Cylinder 
        variant="primary" 
        size="default" 
        animate 
      />
    </Scene>
  )
}

Variants

Props

PropTypeDefault
variant"default" | "primary" | "secondary" | "destructive""default"
size"sm" | "default" | "lg""default"
animatebooleanfalse
segmentsnumber32