Component
SignalTranscript
It transforms the actual supplied label into dots, dashes and slash tokens using a local Morse table. The original text can be restored, but the transcript has no practical reason to replace it.
Possible use
It could let a reviewer transmit a handoff phrase as though the room had lost its vocabulary, or let a presenter turn an agenda label into a signal board for a deliberately over-engineered reveal.
Reasonable alternative
A reasonable local alternative is rendering the label and using a nearby text utility when encoding is truly needed. A transcript component makes a one-off conversion look like a lasting UI primitive.
01 / Preview
Try it yourself.
Please review this
Mechanism
- 1
- Transmit the plain label.
- 2
- Read the actual per-character Morse signals.
- 3
- Restore the original phrase when the ceremony is over.
02 / Usage
Put it somewhere.
example.tsxTSX
import { SignalTranscript } from "gra-ui";
import "gra-ui/styles.css";
export function SignalledNotice() {
return <SignalTranscript label="Please review this" />;
}03 / API
Small surface area.
PropTypeDescription
labelstringThe text transformed into a visible per-character signal transcript.