UNPKG

1.33 kBHTMLView Raw
1<!--
2 Copyright IBM Corp. 2016, 2018
3
4 This source code is licensed under the Apache-2.0 license found in the
5 LICENSE file in the root directory of this source tree.
6-->
7
8<div id="tooltip-label" class="bx--tooltip__label" aria-describedby="unique-tooltip">
9 Tooltip label
10 <div tabindex="0" aria-labelledby="tooltip-label" data-tooltip-trigger data-tooltip-target="#unique-tooltip"
11 role="tooltip" class="bx--tooltip__trigger">
12 <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
13 <g fill-rule="evenodd">
14 <path d="M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"
15 fill-rule="nonzero" />
16 <path fill-rule="nonzero" d="M9 13H7V7h2z" />
17 <circle cx="8" cy="4" r="1" />
18 </g>
19 </svg>
20 </div>
21</div>
22<div id="unique-tooltip" data-floating-menu-direction="bottom" class="bx--tooltip"
23 data-avoid-focus-on-open>
24 <span class="bx--tooltip__caret"></span>
25 <p>This is some tooltip text. This box shows the maximum amount of text that should appear inside. If more room is
26 needed
27 please use a modal instead.</p>
28 <div class="bx--tooltip__footer">
29 <a href="#" class="bx--link">Learn More</a>
30 <button class="bx--btn bx--btn--primary bx--btn--sm"
31 type="button">Create</button>
32 </div>
33</div>