All components

Button Hover Top Slowflip

Button Hover Top Slowflip is a React and Tailwind CSS overlay component from UI Layouts, licensed MIT. Copy it and paste it into your project.

UI Layouts MIT overlays

What it is

Button Hover Top Slowflip is a React and Tailwind CSS overlay 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.

Open in the catalogue

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 Hover Top Slowflip

./registry/components/button/btn-hover-top-slowflip.tsx
'use client';

const ButtonHoverTopSlowFlip = () => {
  return (
    <>
      <button className='group relative inline-flex h-12 items-center justify-center overflow-hidden rounded-md border-2 dark:border-[#656fe2] border-[#394481]  font-medium'>
        <div className='inline-flex h-12 translate-y-0 items-center justify-center px-6  bg-linear-to-r dark:from-[#070e41] dark:to-[#263381] dark:text-white text-black transition duration-500 group-hover:-translate-y-[150%]'>
          Hover me
        </div>
        <div className='absolute inline-flex h-12 w-full translate-y-full items-center justify-center text-neutral-50 transition duration-500 group-hover:translate-y-0'>
          <span className='absolute h-full w-full translate-y-full skew-y-12 scale-y-0 bg-[#394481] dark:bg-[#656fe2] transition duration-500 group-hover:translate-y-0 group-hover:scale-150'></span>
          <span className='z-10'>Hover me</span>
        </div>
      </button>
    </>
  );
};

export default ButtonHoverTopSlowFlip;

Similar components