Skip to main content

Updated: Galaxy

By Steven Van ·

The rebuilt Galaxy background drops its extra dependencies and adds cursor repulsion, click-to-warp, new star colors and a cleaner light mode.

The React Bits Galaxy background has been rebuilt and no longer needs any extra dependencies.

Interaction changes

  • Stars glide away from the cursor.
  • A click jumps to warp speed.
  • The background arrives from hyperspace when it loads.

Visual changes

The update adds new star colors, flares and depth, along with a cleaner light mode.

Installing

Galaxy is available in JavaScript or TypeScript, with plain CSS or Tailwind. The TypeScript and Tailwind version installs with npx shadcn@latest add @react-bits/Galaxy-TS-TW.

React Bits
React Bits
An open-source collection of 200+ animated, interactive React components and micro-interactions.
View React Bits →
Sources

Original source

Read Updated: Galaxy on Creators Toolbox