2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

InfoTip

Updated: August 31, 2026
View on GitHub
InfoTip is a small info icon that reveals a sentence of context on hover. It lets a control carry an explanation without spending a permanent line of the layout on something most readers only need once. size takes the same tokens as Icon. Match it to the text it sits beside — xs next to a label, s next to body copy — so the icon reads as part of the line rather than an object dropped into it. Hover-only content is invisible on touch and to anyone scanning rather than pointing, so an InfoTip must never carry information the reader needs in order to make the choice in front of them. That belongs in a visible description — Setting has a description prop for exactly this. Reserve InfoTip for the second sentence: the caveat, the unit, the reason a default is what it is. Anything longer than a sentence or two wants a link to a page, not a tip. Setting renders an InfoTip for you when you pass its info prop, which is the usual way you will meet this component.
Prop
Type
Default
children
The explanation. A sentence or two.
React.ReactNode
size
Icon size, matched to the text it sits beside.
React.ComponentProps<typeof Icon>["size"]xs
…and every FlexProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club