Skip to content

Decode Text

Text that resolves out of noise, left to right, at a stepped 30 frames per second.

Download
Customize

Unlocked cells are faint noise, the cell locking this frame is accent, locked cells are bone. When the text changes only the characters that differ scramble again; extra positions decode in or scramble out and collapse while the width springs. Cells are fixed-width, so the line never jitters.

Install

npx shadcn@latest add https://obsydeui.com/r/decode-text.json

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { DecodeText } from '@/components/obsyde/ember/decode-text/DecodeText';

export function Example() {
  return (
    <DecodeText trigger="mount" />
  );
}

Files

Plain React, TypeScript and CSS. No dependencies. The download keeps these paths.

  • ember/decode-text/DecodeText.tsxcomponent
  • ember/decode-text/decode-text-demo.cssstyles
  • ember/decode-text/decode-text.cssstyles
  • ember/decode-text/DecodeTextDemo.tsxdemo
  • ember/effects-kit/kit.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
triggerTrigger'mount' | 'hover' | 'change''mount'
speedSpeed (chars/s)number28
sizeSize (px)number28
monoMonobooleantrue
glyphsNoise glyphsstring'01<>/\[]{}=+*^?#'