{"id":21391919,"url":"https://github.com/teddko/balloontext","last_synced_at":"2026-02-16T19:39:58.832Z","repository":{"id":260444448,"uuid":"881316305","full_name":"TeddKo/BalloonText","owner":"TeddKo","description":"BalloonText💬 is a customizable chat bubble text component library for Jetpack Compose.","archived":false,"fork":false,"pushed_at":"2024-11-01T06:40:27.000Z","size":123,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T21:53:24.518Z","etag":null,"topics":["android","balloon","bubble-chart","jetpack-compose","kotlin"],"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/TeddKo.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-31T10:31:20.000Z","updated_at":"2025-03-05T14:02:32.000Z","dependencies_parsed_at":"2024-11-22T16:17:39.624Z","dependency_job_id":null,"html_url":"https://github.com/TeddKo/BalloonText","commit_stats":null,"previous_names":["teddko/balloontext"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TeddKo/BalloonText","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FBalloonText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FBalloonText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FBalloonText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FBalloonText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeddKo","download_url":"https://codeload.github.com/TeddKo/BalloonText/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeddKo%2FBalloonText/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29516176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["android","balloon","bubble-chart","jetpack-compose","kotlin"],"created_at":"2024-11-22T13:38:22.231Z","updated_at":"2026-02-16T19:39:58.824Z","avatar_url":"https://github.com/TeddKo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eBalloonText\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://search.maven.org/artifact/io.github.teddko/balloontext/1.0.0/aar\"\u003e\u003cimg src=\"https://img.shields.io/maven-central/v/io.github.teddko/balloontext.svg\" alt=\"Maven Central\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://android-arsenal.com/api?level=23\"\u003e\u003cimg src=\"https://img.shields.io/badge/API-23%2B-brightgreen.svg\" alt=\"\"API /\u003e\u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/Apache-2.0\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\" alt=\"\"License /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg align=\"center\" src=\"https://github.com/user-attachments/assets/7bba0e32-9ec5-414a-b234-28ff0a4c866e\"/\u003e\u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\nBalloonText is a customizable chat bubble text component library for ***`Jetpack Compose.`*** It provides an easy way to create stylish chat bubble UI components with various customization options.\n\n## Features\n- Four tail directions (right-top, left-top, right-bottom, left-bottom)\n- Three preset shape sizes (large, medium, small)\n- Customizable colors and padding\n- Smooth corner radius\n- Natural tail shape\n\n## Installation\n\nAdd the following dependency to your app's build.gradle.kts file:\n\n```kotlin\ndependencies {\n    implementation(\"io.github.teddko:balloontext:1.0.0\")\n}\n```\n\n## Usage\n\nBasic example:\n\n```kotlin\nBalloonText(\n    balloonDirection = BalloonDirection.LEFT_TOP,\n    balloonTextShape = BalloonTextShape.MEDIUM_SHAPE,\n    balloonColor = MaterialTheme.colorScheme.primary,\n    text = \"Hello!\"\n)\n```\n\nCustom styling example:\n\n```kotlin\nBalloonText(\n    modifier = Modifier.padding(8.dp),\n    balloonDirection = BalloonDirection.RIGHT_BOTTOM,\n    balloonTextShape = BalloonTextShape.LARGE_SHAPE,\n    textPadding = PaddingValues(horizontal = 16.dp, vertical = 8.dp),\n    balloonColor = Color(0xFF2196F3),\n    text = \"This is a custom styled balloon!\",\n    textColor = Color.White\n)\n```\n\n## Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| modifier | Modifier to be applied to the component | Modifier |\n| balloonDirection | Direction of the balloon's tail | - |\n| balloonTextShape | Preset size of the balloon shape | MEDIUM_SHAPE |\n| textPadding | Internal padding for the text content | PaddingValues(10.dp) |\n| balloonColor | Background color of the balloon | - |\n| text | Text to be displayed | - |\n| textColor | Color of the text | MaterialTheme.colorScheme.surface |\n\n## BalloonDirection\n\nEnum class that specifies the direction of the balloon's tail:\n\n- `RIGHT_TOP`\n- `LEFT_TOP`\n- `RIGHT_BOTTOM`\n- `LEFT_BOTTOM`\n\n## BalloonTextShape\n\nEnum class that defines the size preset of the balloon:\n\n- `LARGE_SHAPE`: Large size (corner radius 18.dp)\n- `MEDIUM_SHAPE`: Medium size (corner radius 15.dp)\n- `SMALL_SHAPE`: Small size (corner radius 8.dp)\n\n## Sample App\n\nFor more examples and use cases, check out the sample app in the [GitHub repository](https://github.com/teddko/balloontext/tree/main/demo).\n\n## Contributing\n\nWe welcome contributions! If you would like to contribute to this project, please follow these steps:\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Requirements\n\n- Android SDK 23+\n- Jetpack Compose 1.7.5+\n\n## License\n\n```\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\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```\n\n## Author\n\nTeddKo - [@teddko](https://github.com/teddko)\n\nProject Link: [https://github.com/teddko/balloontext](https://github.com/teddko/balloontext)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddko%2Fballoontext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteddko%2Fballoontext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddko%2Fballoontext/lists"}