Squares

Animations

Animated square grid background.

Import

import { PixelSquares } from "@/components/ui/pixel/animations/pixel-squares"

Usage

Component Source

Copy and paste the following code into your project at /src/components/ui/pixel/animations/pixel-squares.tsx

"use client";

import * as React from "react";
import Squares from "@/components/Squares";

export function PixelSquares(props: any) {
  return (
    <div className="pixel-animation-wrapper w-full h-48">
      <Squares {...props} />
    </div>
  );
}

export default PixelSquares;

Accessibility

This component is built with accessibility in mind, including proper ARIA attributes, keyboard navigation, and focus management.