Dot Matrix
Text on an LED panel: a 5×7 bitmap font drawn on a canvas of faint unlit dots, with lit dots in bone.
$149 once · every Pro piece
Customize
When the text changes, only the dots that differ switch, column by column, each with a short hot flash; scroll mode marquees long text one whole column at a time. Lit dots near the pointer warm toward the accent and cool behind it.
Install
npx shadcn@latest add @obsyde/dot-matrixNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { DotMatrix } from '@/components/obsyde/ember/dot-matrix/DotMatrix';
export function Example() {
return (
<DotMatrix text="DOT MATRIX" />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/dot-matrix/DotMatrix.tsxcomponentember/dot-matrix/dot-matrix-demo.cssstylesember/dot-matrix/dot-matrix.cssstylesember/dot-matrix/DotMatrixDemo.tsxdemoember/effects-kit/kit.tssharedember/shared/accent.tssharedember/shared/spring.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
textText | string | 'DOT MATRIX' |
dotDot (px) | number | 4 |
gapGap (px) | number | 2 |
scrollScroll | boolean | false |
speedSpeed (columns/s) | number | 14 |
cycleCycle words | boolean | false |