default const
The heading breaks into 3D shards that fly apart, tumble and catch the light: thin panes of glass with the text printed on them, thick chunks of stone with rough walls and a puff of dust, or torn paper that flutters down.
import { default } from '@dioramajs/text/shatter'. On a click from the point of impact, scrubbed as the heading scrolls out, as a light crack under the pointer, or assembled from flying shards once in view. At rest the element is plain DOM text.
const default: Effect<Params>Defined in packages/text/src/shatter.ts.