Manu Arora

Moving Border

Buttons 1.1K

About

A border that moves around the container. Perfect for making your buttons stand out.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Moving Border to your project and fits it to your theme.

Code

How Moving Border is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import React from "react";
import { Button } from "@/components/ui/moving-border";

export function MovingBorderDemo() {
  return (
    <div>
      <Button
        borderRadius="1.75rem"
        className="bg-white dark:bg-slate-900 text-black dark:text-white border-neutral-200 dark:border-slate-800"
      >
        Borders are cool
      </Button>
    </div>
  );
}

Dependencies

More by Manu Arora

View all
  • Container Scroll Animation

    Container Scroll Animation

    10.9K
  • Aurora Background

    Aurora Background

    4.7K
  • Glowing Effect

    Glowing Effect

    4.5K
  • Timeline

    Timeline

    4.5K
  • Sparkles

    Sparkles

    4.3K
  • Sidebar

    Sidebar

    3.9K
  • Lamp

    Lamp

    3.9K
  • Bento Grid

    Bento Grid

    2.9K

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19