Bubble Background Demo

PreviousNext

Demo showing a bubble background.

Docs
animate-uiui

Preview

Loading preview…
registry/demo/components/backgrounds/bubble/index.tsx
import { BubbleBackground } from '@/components/animate-ui/components/backgrounds/bubble';

type BubbleBackgroundDemoProps = {
  interactive: boolean;
};

export const BubbleBackgroundDemo = ({
  interactive,
}: BubbleBackgroundDemoProps) => {
  return (
    <BubbleBackground
      interactive={interactive}
      className="absolute inset-0 flex items-center justify-center rounded-xl"
    />
  );
};

Installation

npx shadcn@latest add @animate-ui/demo-components-backgrounds-bubble

Usage

import { DemoComponentsBackgroundsBubble } from "@/components/ui/demo-components-backgrounds-bubble"
<DemoComponentsBackgroundsBubble />