Effects, new
Burn Through
Hold to confirm, and the screen burns away.
$149 once · every Pro piece
Customize
light
dark
Heat fills the pill from the left; on completion a ragged hole burns out from it, white-hot at the edge, then flame, a cool violet band and char, with ash blown off the top and flame tongues licking up from below. The screen underneath is live DOM, revealed through the hole. Restore grows the page back. WebGL with a CSS fallback; a crossfade under reduced motion.
Install
npx shadcn@latest add @obsyde/burn-throughNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { BurnThrough } from '@/components/obsyde/ember/burn-through/BurnThrough';
export function Example() {
return (
<BurnThrough />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/burn-through/BurnThrough.tsxcomponentember/burn-through/burn-through-demo.cssstylesember/burn-through/burn-through.cssstylesember/burn-through/burn-particles.tsmoduleember/burn-through/burn-gl.tsmoduleember/burn-through/burn-field.tsmoduleember/burn-through/BurnHold.tsxmoduleember/burn-through/BurnThroughDemo.tsxdemoember/shared/accent.tssharedember/shared/ember.csssharedember/shared/spring.tsshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
pagePage | 'light' | 'dark' | 'light' |
holdMsHold (ms) | number | 1600 |
durationBurn (ms) | number | 5800 |
restoreDurationRestore (ms) | number | 2900 |