Squares

PreviousNext

Animated squares with scaling + direction customization.

Docs
react-bitscomponent

Preview

Loading preview…
Squares/Squares.css
.squares-canvas {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

Installation

npx shadcn@latest add @react-bits/Squares-JS-CSS

Usage

import { SquaresJSCSS } from "@/components/Squares-JS-CSS"
<SquaresJSCSS />