Skip to main content

Interface: HoleBackgroundProps

@arolariu/components


@arolariu/components / HoleBackgroundProps

Interface: HoleBackgroundProps

Defined in: components/ui/hole-background.tsx:10

Props accepted by HoleBackground.

Extends

  • HTMLAttributes<HTMLCanvasElement>

Properties

strokeColor?

optional strokeColor?: string

Defined in: components/ui/hole-background.tsx:12

Stroke color used for the wireframe discs and line work.

Default

"#737373"

numberOfLines?

optional numberOfLines?: number

Defined in: components/ui/hole-background.tsx:14

Number of radial line groups drawn through the tunnel.

Default

50

numberOfDiscs?

optional numberOfDiscs?: number

Defined in: components/ui/hole-background.tsx:16

Number of animated discs used to build the tunnel depth effect.

Default

50

particleRGBColor?

optional particleRGBColor?: [number, number, number]

Defined in: components/ui/hole-background.tsx:18

RGB tuple used to tint the floating particle field.

Default

[255, 255, 255]
// was this page useful?