Skip to content

Dither Reveal

Content appears and disappears through an ordered-dither threshold: hard square cells, one bit, no opacity fade.

$149 once · every Pro piece

Customize

A dithered front travels out from the origin in 24 stepped frames, glittering ember just ahead of itself. Fully shown means no mask at all. Toggling mid-transition runs it backward from the current frame.

Install

npx shadcn@latest add @obsyde/dither-reveal

Needs your licence key · Get Pro

Usage

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

import { DitherReveal } from '@/components/obsyde/ember/dither-reveal/DitherReveal';

export function Example() {
  return (
    <DitherReveal pattern="bayer" origin="left" />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/dither-reveal/DitherReveal.tsxcomponent
  • ember/dither-reveal/dither-reveal-demo.cssstyles
  • ember/dither-reveal/dither-reveal.cssstyles
  • ember/dither-reveal/DitherRevealDemo.tsxdemo
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
patternPattern'bayer' | 'noise' | 'scan''bayer'
originOrigin'left' | 'center' | 'pointer''left'
cellCell (px)number3
durationDuration (ms)number640