NotSimpleUI LogoNotSimpleUI
ComponentsButtons

Animated Border Button

A clean, theme-aware animated border button using dual-surface layered boxes with rotating orbits and fluid edge waves.

Preview

Motion Variations

Color Schemes

Rounded Geometry

Installation

import { AnimatedBorderButton } from "@/components/buttons";

export default function Example() {
  return (
    <AnimatedBorderButton animation="rotate" colorScheme="blue-white">
      Get Started
    </AnimatedBorderButton>
  );
}

Props

PropTypeDefaultDescription
childrenReact.ReactNode"Click Me"Button label or content.
animation"rotate" | "reverse-rotate" | "wave""rotate"The motion mechanic driving the border movement.
colorScheme"blue-white" | "chrome""blue-white"Color palette used by the motion layer.
borderWidthnumber2Border thickness in pixels.
durationnumber3Animation loop cycle in seconds.
rounded"md" | "lg" | "xl" | "full""full"Corner radius geometry.
innerClassNamestring""Classes applied to the inner foreground box.
classNamestring""Classes applied to the outer container.
...propsHTMLMotionProps<"button">Standard HTML button attributes.

Component Source

On this page