Skip to main content

Tooltip

<sc-tooltip></sc-tooltip>

This component let users add tooltip.

Hover Me!

Component Codex

Properties

PropertyDescriptionTypeDefault
freezeFreeze open or closed.boolean
openOpen or notboolean
paddingThe tooltip's padding.number5
textTooltip textstring
typeThe tooltip's type."danger" | "info" | "primary" | "success" | "text" | "warning"'info'
widthTooltip fixed widthstring

Shadow Parts

PartDescription
baseThe elements base wrapper.
textThe tooltip text.