Star Border

Animated gradient border effect resembling a shooting star.

Loading...

Properties

#ffffff

Color of the border

4

Animation duration (seconds)

Installation

npm install @reactomega/ui

Usage

Usage

import { StarBorder } from '@reactomega/ui';

export default function App() {
  return (
    <StarBorder className="p-4" color="#ffffff">
      <button className="text-white">Click Me</button>
    </StarBorder>
  );
}