❤️ Support our project - Your donation helps us continue developing awesome tools!


Docs
Neon Gradient Card

Neon Gradient Card

A beautiful neon card effect

Neon Gradient Card

Installation

npx nyxbui@latest add neon-gradient-card

Add the following animations to your tailwind.config.ts file:

// tailwind.config.ts
module.exports = {
  theme: {
    extend: {
      animation: {
        backgroundPositionSpin:
          "background-position-spin 3000ms infinite alternate",
      },
      keyframes: {
        "background-position-spin": {
          "0%": { backgroundPosition: "top center" },
          "100%": { backgroundPosition: "bottom center" },
        },
      },
    },
  },
};

Props

PropTypeDescriptionDefault
classNamestringThe class name to be applied to the component-
childrenReactNodeChildren elements-
borderSizenumberThe size of the border5
borderRadiusnumberThe size of the radius20
neonColorsobjectThe colors of the neon gradient{ firstColor: "#ff00aa", secondColor: "#00FFF1" }