Using this Component
Peeks are used to display contextually relevant information in the form of: previews; interactive details; or full values of truncated items.
Peeks are always used in conjunction with other UI elements.
Only text content can be placed within tooltips. Avoid text longer than 100 characters.
1. Content Area
Most of a peek is dedicated to the rectangular content area. Peeks are not limited to text content, and may contain complex or interactive components. The width of the content area should reflect the expected size of the peek contents. Default width of peeks should be 180px unless explicitly stipulated otherwise.
Peeks always point to their triggering element. Pointers are placed in the middle of one of the peek’s four sides.
Peeks themselves are non-interactive containers, but they may contain a variety of interactive elements.
Peeks may appear from various triggers, including on hover, on click, or from other timing/behavioral factors.
When appearing on hover, peeks should most often appear after long hover (500ms) over the triggering element. In rare circumstances, tooltips may appear immediately on hover, but this should be avoided.
Peeks triggered by hovering should be dismissed 500ms after moving the cursor off the triggering element.
Because peeks extend beyond the bounds of the triggering element, be sure that placement of the peek will not cause it to appear outside the bounds of the page window.