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 / UI

Dot Password

The meter judges a password the way an attacker would: common passwords however they're spelled, runs like 1234, repeats and your own name count for little, so P@ssw0rd! stays red. Under it sits the one thing most worth fixing and a checklist that ticks itself off. Show reveals what you typed, and it tells you when Caps Lock is on.

Needs: None. One small canvas; the estimate runs as you type.

Customize

autoComplete

Props

PropTypeDefaultDescription
valuestring–Controlled value. Leave unset to let the field keep its own.
defaultValuestring""Starting value, when uncontrolled.
onChange(value, strength: { score: 0–4; bits; hint }) => void–Called as it's typed, with the estimate.
labelstring"Password"The field's label.
namestring"password"Name for the form.
avoidstring[]"[]"The person's name, email, the site's name: words that count for nothing.
rules{ id; label; test }[] | false"length, cases, number"The checklist under the meter.
autoComplete"new-password" | "current-password""new-password"current-password is for signing in, and hides the meter.
placeholderstring–Placeholder text.
requiredboolean–Required in a form.
disabledbooleanfalseCan't be typed in.
pitchnumber4Size of one meter dot, px.
classNamestring–Class on the wrapper.
styleCSSProperties–Style on the wrapper.
← Dot PaginationDot Price Range →