Skip to content

Text Morse

Pro

The text turns into the dots and dashes of Morse code, then turns back into the words.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Morse needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
28
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Wrap a short heading.

signal-heading.tsx

TextMorse

<span>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The text to code. Letters with no ITU code (CJK, emoji) stay as they are.
trigger"mount""view""view"When it starts: view (default) the first time it is on screen, mount at once.
loopbooleantrueCode and decode again and again. Default true; false ends on the plain text.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Use loop to send the code again after a pause.
  • Keep it to a short line: each letter has its own code.
Encode
indicator · 90ms a letter (40ms for a long text) · each letter swaps to its code, then back; about 8s a loop
  1. AddedText Morse.
Open the release