Attribute Type Documentation Default Value
id :string

Tooltip ID

"moon-tooltip"
position :string

Tooltip position relative to the trigger element

"top"
has_pointer :boolean

Adds an arrow to the tooltip

false
Required tooltip_content * :slot

What will be showed in the tooltip

<.button variant="outline">Hover me</.button>
  <:tooltip_content>
    <p>Hi! I'm a tooltip.</p>
  </:tooltip_content>
Required inner_block * :slot