Motoko UI Released — Explore the components

Letter Morph

Words gooey-morph into each other — blur fused by an SVG threshold filter.

Installation

pnpm dlx shadcn@latest add @motokoui/letter-morph

Usage

import { LetterMorph } from "@/components/ui/letter-morph"
 
export default function Example() {
  return (
    <LetterMorph
      words={["BUILD", "CREATE", "SHIP"]}
      textClassName="text-5xl font-semibold"
    />
  )
}

Two stacked layers crossfade through blur while an SVG threshold filter fuses their silhouettes — the word reshapes instead of swapping.

Props

PropTypeDefault
wordsstring[]required
morphTimenumber1.2
cooldownTimenumber1.5
textClassNamestring
classNamestring

Respects prefers-reduced-motion — words swap without the gooey morph.