Tooltip

Lorem IpsumLorem IpsumLorem IpsumLorem IpsumLorem IpsumLorem IpsumLorem IpsumLorem Ipsum

Tooltip overflow

The Figma plugin modal behaves like it has a overflow: hidden CSS property, which means that every tooltip content that extends beyond the modal window, gets cut off. Set the position prop of the tooltip to accommodate for that.

Props

PropTypeDefault/Notes
positionStringDefault: bottom-center; Position of the tooltip. Accepts l, left, tl, top``-left, tc, top-center, tr, top-right, r, right, br, bottom-right, bc, bottom-center, bl, bottom-left
widthNumberDefault: undefined; Width of tooltip box
inverseBooleanDefault: false ; Inverses the color of the tooltip icon (tooltip content box stays the same)

Example usage

<template>
	<Tooltip position="bottom-left" width="200">Lorem Ipsum</Tooltip>
</template>

<script>
	import { Tooltip } from 'figma-plugin-ds-vue'

	export default {
		components: {
			Tooltip
		}
	}
</script>