package page→ /design/shtukbase-ui-html/components/primitive/tooltip/tooltip.html
pages/design/shtukbase-ui-html/components/primitive/tooltip/tooltip.html
15 lines, 459 B. Open as is (in a project other files lie next to it; they may be missing here).
- <!---
- id: tooltip
- title: Tooltip
- level: primitive
- description: A short dark hint next to what it explains, with an optional key; it wraps at a calm width and never covers its own text.
- uses: []
- parts: [tooltip-kbd]
- states: [default]
- status: []
- controls: {}
- cssProperties: []
- --->
- <template data-state="default">
- <div data-slot="tooltip" class="tooltip" role="tooltip">Copy the link<kbd data-slot="tooltip-kbd" class="tooltip-kbd">⌘L</kbd></div>
- </template>