default const
The text set on the keycaps of a mechanical keyboard in 3D: one sculpted, dished cap per letter with the legend printed on top in the text colour, a wide space bar between words, on a darker case seen in perspective with soft shadows.
import { default } from '@dioramajs/text/keycaps'. On view the keys go down one after another as if the word were typed, a quick press, a bounce and a flash each; under the pointer they press, a click sends one down hard. Retro beige caps or dark caps with an RGB glow. The text stays real in the DOM.
const default: Effect<Params>Defined in packages/text/src/keycaps.ts.