Astra

Pixel Transition

Retro pixel dissolve that covers a card in solid pixels, swaps the content underneath and clears again.

Pixel Transition, a Astra component

Use Pixel Transition in your project

Choose JavaScript or TypeScript and plain CSS or Tailwind. Enable JavaScript for the interactive preview, customization controls and source tabs.

npx shadcn@latest add @react-bits/PixelTransition-TS-TW
How to install Astra components

Related components

  • Fade Content

    Wrapper that fades content in on scroll, plain or out of focus, from washed-out gray, or through grain, mist and pixel blocks.

  • Pixel Swap

    New content builds in pixel by pixel in a springy wave that starts wherever the cursor enters.

  • Pixel Trail

    Glossy pixels melt into a fluid goo trail behind the cursor, with color shifts and drips.