Pricing

Animated Beam

An animated beam of light which travels along a path. Useful for showcasing the integration features of a website.

2,489

Bookmarks

8,689

Installs

55,289

Views

497 lines
"use client"

import React, { forwardRef, useRef } from "react"

import { cn } from "@/lib/utils"
import { AnimatedBeam } from "@/components/ui/animated-beam"

const Circle = forwardRef<
  HTMLDivElement,
  { className?: string; children?: React.ReactNode }
>(({ className, children }, ref) => {
  return (
    <div
      ref={ref}
      className={cn(
        "z-10 flex size-12 items-center justify-center rounded-full border-2 bg-white p-3 shadow-[0_0_20px_-12px_rgba(0,0,0,0.8)]",

481 more lines behind a plan

Previews are free to watch. Reading and copying the full source needs a plan.

See plans
Dependencies
@radix-ui/react-iconsmotion
License
MIT License
Published
1/4/2025

Similar components

That's all 6 components

Explore more

Part of Magic UI — browse the full library on Nuxus.