<Tooltip content="Add to favorites" > <IconButton icon={<IconHeart />}/> </Tooltip>
<Tooltip placement="right" content="Share" > <IconButton icon={<IconShare />}/> </Tooltip>
<Arrange gap="s"> <Tooltip offset="xs" content="Download" > <IconButton icon={<IconDownload />}/> </Tooltip> <Tooltip offset="s" content="Download" > <IconButton icon={<IconDownload />}/> </Tooltip> </Arrange>
With placementMethod="static"
the tooltip uses CSS instead of JavaScript to position itself.
<Arrange gap="m"> <Tooltip placementMethod="static" content="Share" > <IconButton icon={<IconShare />}/> </Tooltip> <Tooltip placementMethod="dynamic" content="Share" > <IconButton icon={<IconShare />}/> </Tooltip> </Arrange>
<Tooltip.Content> Content </Tooltip.Content>