HomeLabHire Me
ml-ui111 components

Get started

IntroductionInstallation

UI

Dots

Dot AccordionDot CalendarDot CheckboxDot CodeDot CommandDot ContentsDot CountdownDot CrossingDot FuseDot GaugeDot InstallDot KnobDot LogosDot MenuDot PaginationDot PasswordDot Price RangeDot PricingDot ProgressDot QueueDot RatingDot Reading ProgressDot SelectDot SignupDot SliderDot StatusDot StepperDot SwitchDot TabsDot ToastDot TooltipFlip-Dot CounterLED Marquee

Dither

Dither AvatarDither BannerDither CompareDither GlobeDither PortraitDither SkeletonDither TrailDither UploadDot CookiesDot DialogDot KeysDot ReceiptDot VariantsLenticular Card

More

Pollen TrailSplit-FlapTheme Toggle

Text

Dither RotatorDot TypeEnigma TextInk Print

Data viz

Dots

Contribution FieldDot BarsDot ChartDot Waffle

Dither

Dither DensityDither MapDither Stack

Media

Dots

Dot EqualizerDot WaveformVoice Note

Dither

Dither Scrubber

AI

Agent StepsAnswer VersionsCitation ChipConfidence GlassContext MeterDiffusion ImageDiffusion TextDither MaskDoc ReaderDot DictationGenerate ButtonGhost TextModel PickerPrompt BarResponse ActionsRevising TextSpoken ReplyThinking OrbThinking TraceToken MeterToken StreamWord Alternatives

Useful

Arrival TimeBest ShotCareer LineForgiving SearchGesture PadHeard AsHonest PinImage PaletteLikeness GridNear Miss SearchRain DropsSoft CorrectSpending SortSticker LiftTaste Ledger

Backgrounds

ButterfliesDandelionsDuck PondFirefliesKoi PondLight WellMarigoldsTrain WindowWhite Blossom

ml-ui / Text

Enigma Text

Your text starts as its real Enigma ciphertext (three rotors and a reflector, as the machine had) and each letter turns forward on its own rotor, a notch at a time, until it comes up, when a warm lamp lights it for a moment. Hovering runs it again from a new rotor setting, so the cipher is never the same twice.

Needs: None. Canvas 2D.

Customize

trigger

Props

PropTypeDefaultDescription
textstringrequiredThe text. It starts as its own ciphertext and rolls back to this.
trigger"view" | "hover" | "both""both"When it deciphers: on coming into view, on hover, or both.
speednumber34Notches a second each rotor turns.
staggernumber0.035Seconds between one letter starting and the next.
lampstring"#f2a531"The lamp that lights each letter as it lands.
classNamestring–Class on the text. It takes its font from its surroundings.
styleCSSProperties–Style on the text.
← Dot TypeInk Print →