Glyph Matrix
Glyph Matrix draws changing characters onto a canvas at a configurable interval.
Practical React example
Use a decorative character field behind a static display heading.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/glyph-matrix.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.
Use a decorative character field behind a static display heading
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { GlyphMatrix } from "@/components/magicui/glyph-matrix"
export function ComponentExample() {
return (
<div className="border-border bg-background h-[400px] w-full overflow-hidden rounded-lg border">
<GlyphMatrix />
</div>
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Choose a small glyph set and cell size appropriate for the available area. Keep the actual heading and any status outside the canvas.
Customization
- GlyphMatrixProps.glyphs
- Optional; string. Characters to randomly pick from
- GlyphMatrixProps.cellSize
- Optional; number. Cell size in px (also font size)
- GlyphMatrixProps.mutationRate
- Optional; number. Probability (0-1) a cell mutates each tick
- GlyphMatrixProps.interval
- Optional; number. Tick interval in ms
- GlyphMatrixProps.fadeBottom
- Optional; number. Fade out toward bottom (0 = no fade)
- GlyphMatrixProps.color
- Optional; string. Glyph color (any CSS color). Pass a theme-aware value from the consumer.
Integration notes
- Random glyphs must not be presented as live logs or meaningful computation.
- Test reduced motion and cap update frequency before using it in multiple visible sections.
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.
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.