Skip to main content

Interface: BubbleBackgroundProps

@arolariu/components


@arolariu/components / BubbleBackgroundProps

Interface: BubbleBackgroundProps

Defined in: components/ui/bubble-background.tsx:26

Props accepted by BubbleBackground.

Extends

  • HTMLAttributes<HTMLDivElement>

Properties

interactive?

optional interactive?: boolean

Defined in: components/ui/bubble-background.tsx:28

Enables mouse-following motion for the interactive bubble layer.

Default

false

transition?

optional transition?: SpringOptions

Defined in: components/ui/bubble-background.tsx:30

Spring configuration applied to the interactive bubble motion.

Default

{stiffness: 100, damping: 20}

colors?

optional colors?: BubbleBackgroundColors

Defined in: components/ui/bubble-background.tsx:32

Overrides the CSS custom property color palette for the bubbles.

Default

{first: "18,113,255", second: "221,74,255", third: "0,220,255", fourth: "200,50,50", fifth: "180,180,50", sixth: "140,100,255"}
// was this page useful?