{"id":20878879,"url":"https://github.com/codeandtheory/ytooltip","last_synced_at":"2025-06-27T05:33:51.716Z","repository":{"id":103293770,"uuid":"518415966","full_name":"codeandtheory/YTooltip","owner":"codeandtheory","description":"Y-Tooltip is a light and extensible tooltip library for Jetpack Compose system","archived":false,"fork":false,"pushed_at":"2022-09-23T16:32:01.000Z","size":916,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T05:52:12.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeandtheory.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,"governance":null}},"created_at":"2022-07-27T10:42:19.000Z","updated_at":"2024-04-05T13:18:44.000Z","dependencies_parsed_at":"2023-10-03T08:48:01.016Z","dependency_job_id":null,"html_url":"https://github.com/codeandtheory/YTooltip","commit_stats":null,"previous_names":["codeandtheory/ytooltip","yml-org/ytooltip"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeandtheory/YTooltip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2FYTooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2FYTooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2FYTooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2FYTooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeandtheory","download_url":"https://codeload.github.com/codeandtheory/YTooltip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeandtheory%2FYTooltip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262198740,"owners_count":23273910,"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":[],"created_at":"2024-11-18T07:14:30.478Z","updated_at":"2025-06-27T05:33:51.687Z","avatar_url":"https://github.com/codeandtheory.png","language":"Kotlin","readme":"![Y-Matter Type](https://github.com/yml-org/YTooltip/raw/main/art/logo.jpeg)\n\nY-Tooltip is a light and extensible tooltip library for Jetpack Compose system. It has two  modules:\n\n * Tooltip (Tooltip components for Jetpack Compose)\n * app (sample app to showcase the different usage of tooltip)\n\n### What is a Tooltip ?\n\nA Tooltip is the message view which appears near to anchor view, it can have title, icon, and action \nbutton. A Tooltip view can be used for guiding the user. \n\nThere are two types of tooltips available:\n \n* Tooltip screen.\n* Tooltip view.\n\n### TooltipScreen\n\nWhen we need screen overlay for full screen then we need to use ToolTipScreen composable as parent \ncomponent and inside we need to use ToolTipView as child component.\n```kotlin\neg.\nToolTipScreen(\npaddingHighlightArea = 0f // Padding highlighted area for overlay,\nmainContent = {\nToolTipView ()\n//main content including ToolTipView\n},\nanyHintVisible = //need to pass boolean value if any Tip is visible in screen,\nvisibleHintCoordinates = // co-ordinates to show hint,\nbackgroundTransparency = // To set background transparency\n)\n```\n### ToolTipView\nThis component shows Tip View on click of any component, also we can pass custom click event and\ncustom content view to this component.\n```kotlin\nToolTipView(\n visibleHintCoordinates = // co-ordinates to show hint,\n isHintVisible = //need to pass boolean value if any Tip is visible in screen,\n  dismissOnTouchOutside = // true or false,\n  customHintContent = {\n  // custom view content\n },\n onClick = {\n  // on click if multiple view on same screen \n },\n customViewClickable = {\n  // custom view clickable \n }\n)\n```\n\n![sample screenshot](sample_tooltip.png)\n\n### Download\nYou can add automatically the library via Maven Central:\n\nGradle:\n```groovy\nimplementation 'co.yml:ytooltip:1.0.0'\n```\n\n### License\n    \n    Copyright 2022 YML\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandtheory%2Fytooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeandtheory%2Fytooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeandtheory%2Fytooltip/lists"}