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

Citation Chip

An inline source number for answer text. Hover it and a glass card springs out with the site, the passage, and how much the answer leans on it.

Needs: Sources from your own retrieval step. No model in the browser, no network: the site mark is a letter, not a fetched favicon.

Customize

openOn

Props

PropTypeDefaultDescription
nnumberrequiredThe number on the chip.
source{ title: string; url: string; domain?: string; snippet: string; quote?: string; support?: "strong" | "partial" | "weak" }requiredThe source. `domain` defaults to the URL's host. `quote` is highlighted inside `snippet` when found. `support` is said as "The main source", "Mentioned" or "Weak support".
accentstring""Chip and highlight colour.
openOn"hover" | "click""hover"Hover opens on hover or keyboard focus and still opens on tap. Click waits for a click.
classNamestring–Added to the root span.
styleCSSProperties–Inline styles for the root span, e.g. ml-ui colour variables.
← Answer VersionsConfidence Glass →