Button Background Shine
Button Background Shine is a React and Tailwind CSS effect component from UI Layouts, licensed MIT. Copy it and paste it into your project.
UI Layouts
MIT
effects
What it is
Button Background Shine is a React and Tailwind CSS effect component from UI Layouts, licensed MIT. Copy it and paste it into your project.
How to use it
Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.
Five free copies a month. No card.
No packages beyond the project baseline
Licence
This component comes from UI Layouts and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.
Button Background Shine
'use client';
const ButtonBackgroundShine = () => {
return (
<button className='inline-flex w-fit mx-auto h-12 animate-background-shine items-center justify-center rounded-md border-2 dark:border-[#656fe2] border-[#c0c6fc] dark:bg-[linear-gradient(110deg,#1e2a78,45%,#3749be,55%,#1e2a78)] bg-[linear-gradient(110deg,#3d5af1,45%,#5471ff,55%,#3d5af1)] bg-size-[200%_100%] dark:hover:border-white px-6 font-medium text-white dark:text-white transition-colors focus:outline-hidden focus:ring-2 dark:focus:ring-neutral-400 focus:ring-offset-2 focus:ring-offset-neutral-50'>
Click Me
</button>
);
};
export default ButtonBackgroundShine;