{"id":15566928,"url":"https://github.com/carlldreyer/vue-base-tooltip","last_synced_at":"2025-07-14T10:07:52.247Z","repository":{"id":65423238,"uuid":"537754663","full_name":"CarlLDreyer/vue-base-tooltip","owner":"CarlLDreyer","description":"Basic, performant Vue tooltip directive.","archived":false,"fork":false,"pushed_at":"2022-12-06T18:35:33.000Z","size":1861,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T09:47:46.059Z","etag":null,"topics":["floating-ui","tooltip","vue"],"latest_commit_sha":null,"homepage":"https://carlldreyer.github.io/vue-base-tooltip/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarlLDreyer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-17T09:07:29.000Z","updated_at":"2023-11-24T09:46:44.000Z","dependencies_parsed_at":"2023-01-23T12:00:45.068Z","dependency_job_id":null,"html_url":"https://github.com/CarlLDreyer/vue-base-tooltip","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CarlLDreyer/vue-base-tooltip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlLDreyer%2Fvue-base-tooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlLDreyer%2Fvue-base-tooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlLDreyer%2Fvue-base-tooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlLDreyer%2Fvue-base-tooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarlLDreyer","download_url":"https://codeload.github.com/CarlLDreyer/vue-base-tooltip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlLDreyer%2Fvue-base-tooltip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265277586,"owners_count":23739416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["floating-ui","tooltip","vue"],"created_at":"2024-10-02T17:08:51.785Z","updated_at":"2025-07-14T10:07:52.100Z","avatar_url":"https://github.com/CarlLDreyer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://carlldreyer.github.io/vue-base-tooltip/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg width=\"180\" src=\"https://carlldreyer.github.io/vue-base-tooltip/logo.svg\" alt=\"Vue BaseTooltip logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n# Vue BaseTooltip\nVue BaseTooltip is a library, built with [Floating UI](https://floating-ui.com/), that aims to provide a simple way to add good-looking, performant, and flexible tooltips to your application.\n\n### [🗒️ Documentation](https://carlldreyer.github.io/vue-base-tooltip/)\n\n## Features\n* 🫶 **Uncomplicated:** Easy to install and use.\n* 🎨 **Customizable:** Style according to your needs using plain CSS.\n* ☁️ **CDN:** No bundler required.\n* 🤸 **Flexible:** Use as plugin or directly import the component and directive.\n* 📦 **Lightweight:** The package only weighs ~2kb.\n* 🦾 **Type Strong:** Written in TypeScript.\n\n## Installation\nVue BaseTooltip can be installed using your favorite package manager or directly via CDN.\n\n### npm\n```shell\nnpm i -S vue-base-tooltip\n```\n\n### Yarn\n```shell\nyarn add vue-base-tooltip\n```\n\n### CDN\nVue BaseTooltip can be loaded via CDN using ESM or UMD format.\n\n#### ESM\n```js\nimport VueBaseTooltip from 'https://unpkg.com/vue-base-tooltip/dist/vue-base-tooltip.es.js'\n```\n\n#### UMD\n```html\n\u003cscript src=\"https://unpkg.com/vue-base-tooltip/dist/vue-base-tooltip.umd.js\"\u003e\u003c/script\u003e\n```\n\n#### Default CSS\n```html\n\u003clink rel=\"stylsheet\" href=\"https://unpkg.com/vue-base-tooltip/dist/style.css\" /\u003e\n```\n\n## Simple Usage\nImport the plugin to your app and install it.\n```js\n// main.ts/js\nimport VueBaseTooltip from 'vue-base-tooltip'\n\napp.use(VueBaseTooltip)\n```\n\nAdd the default styling, this is optional in case you want to style your tooltip from scratch, as described in the [styling section](https://carlldreyer.github.io/vue-base-tooltip/guide/styling.html#use-100-of-your-own-css) of the docs.\n```js\n// main.ts/js\nimport VueBaseTooltip from 'vue-base-tooltip'\nimport 'vue-base-tooltip/style.css'\n\napp.use(VueBaseTooltip)\n```\nUse the v-tooltip directive to add a tooltip to an element.\n```html\n\u003cbutton v-tooltip=\"'This is a tooltip'\"\u003eButton\u003c/button\u003e\n```\n\n## Advanced Usage\nFor advanced usage, please check out the [docs](https://carlldreyer.github.io/vue-base-tooltip/guide.html#advanced-usage) (I didn't want to make the readme too long).\n\n## Feedback\nAny feedback is gladly received, whether it's a code improvement or feature request, open an issue / connect with me on [LinkedIn](https://www.linkedin.com/in/carlldreyer/).\n\n## License\n[MIT License](https://github.com/CarlLDreyer/vue-base-tooltip/blob/main/LICENSE) © 2022-present [Carl Lidström Dreyer](https://github.com/CarlLDreyer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlldreyer%2Fvue-base-tooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlldreyer%2Fvue-base-tooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlldreyer%2Fvue-base-tooltip/lists"}