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 Pricing

Flip the switch and each price rolls on its drums to the new figure, one digit after another across the cards, smaller prices coming down from above. The plan you want people on is picked out in the accent, and each price is written out in full for screen readers.

Needs: None. One small canvas per price.

Customize

Props

PropTypeDefaultDescription
plansPricingPlan[]–id, name, blurb?, monthly (null: custom), yearly? (a year's price), custom?, features?, cta?, href?, featured? (true or a badge), note?.
billing"monthly" | "yearly"–Controlled billing. Leave unset to let it keep its own.
defaultBilling"monthly" | "yearly""monthly"Billing at first, when uncontrolled.
onBillingChange(billing) => void–Called when the switch is flipped.
onSelect(plan, billing) => void–Called by a plan's button when it has no href.
currencystring"$"Before every price.
periodstring"/mo"After every price.
saveLabelReactNode"Save N%"Beside the switch; by default the best yearly saving.
tonestring–The picked-out plan's colour. The page's accent by default.
pitchnumber5Size of one price dot, px.
classNamestring–Class on the table.
styleCSSProperties–Style on the table.
← Dot Price RangeDot Progress →