NotSimpleUI LogoNotSimpleUI
ComponentsButtons

Pixel Grid Button

A tactile cobalt blue button featuring a high-density matrix of geometric pixels that react to clicks with an outward opacity wave and localized depth depression.

Preview

Interactive Wave & Depth Effect

Click anywhere on the button: the pixels right under your cursor sink with physical depth, and an energized wave of opacity and radiant white-cyan illumination radiates outward through the matrix before gently dissipating.

Pixel Shapes

Choose from geometric square pixels, digital LED circles, soft rounded cells, or sharp diamonds using the pixelShape prop:

Pixel Density

Adjust the pixel cell dimension with the pixelSize prop (e.g. 5, 8, 11):

Size Variations

Installation

import { PixelGridButton } from "@/components/buttons";

export default function Example() {
  return (
    <PixelGridButton pixelSize={5} pixelShape="square">
      Deploy Now
    </PixelGridButton>
  );
}

Props

PropTypeDefaultDescription
childrenReact.ReactNode"Deploy Now"Button text or content.
pixelShape"square" | "circle" | "rounded" | "diamond""square"Shape geometry of each pixel cell.
pixelSizenumber8Dimension in pixels of each grid cell.
waveRadiusnumber75Maximum outward propagation radius of the click opacity wave.
size"sm" | "md" | "lg""md"Button height and typography sizing.
classNamestring""Additional Tailwind CSS classes.
...propsReact.ButtonHTMLAttributes<HTMLButtonElement>Standard native HTML button attributes.

Component Source

On this page