Rendyn

Component library

189 components

Interaction

Flickering Grid

Flickering Grid draws configurable squares with changing opacity.

Interactive exampleReact Tailwind CSS

Practical React example

Add a bounded canvas grid to a decorative hero region.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/flickering-grid.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Add a bounded canvas grid to a decorative hero region

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { FlickeringGrid } from "@/components/magicui/flickering-grid"

export function ComponentExample() {
  return (
    <FlickeringGrid />
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Set a bounded area and tune squareSize, gridGap and flickerChance together. Measure the animation when several instances are visible.

Customization

FlickeringGridProps.squareSize
Optional; number.
FlickeringGridProps.gridGap
Optional; number.
FlickeringGridProps.flickerChance
Optional; number.
FlickeringGridProps.color
Optional; string.
FlickeringGridProps.width
Optional; number.
FlickeringGridProps.height
Optional; number.
FlickeringGridProps.className
Optional; string.
FlickeringGridProps.maxOpacity
Optional; number.

Integration notes

  • Keep real content outside the canvas so it remains available without the effect.
  • Provide a static reduced-motion alternative and test the effect on lower-powered devices.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP