{"id":16426785,"url":"https://github.com/wasabeef/compose-gap","last_synced_at":"2026-03-06T13:02:37.849Z","repository":{"id":40314332,"uuid":"416226955","full_name":"wasabeef/compose-gap","owner":"wasabeef","description":"Easily adding gaps inside such as Columns and Rows for Jetpack Compose.","archived":false,"fork":false,"pushed_at":"2025-11-18T03:51:15.000Z","size":709,"stargazers_count":36,"open_issues_count":11,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T05:34:08.617Z","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/wasabeef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-12T07:19:48.000Z","updated_at":"2025-05-09T19:47:27.000Z","dependencies_parsed_at":"2023-01-21T04:15:43.334Z","dependency_job_id":"ab7135bf-758e-43f7-9463-2b35bce0b083","html_url":"https://github.com/wasabeef/compose-gap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"lcdsmao/kotlin-android-library-template","purl":"pkg:github/wasabeef/compose-gap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fcompose-gap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fcompose-gap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fcompose-gap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fcompose-gap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/compose-gap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fcompose-gap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30178286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-11T08:10:22.484Z","updated_at":"2026-03-06T13:02:37.831Z","avatar_url":"https://github.com/wasabeef.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compose Gap\n\n\u003cimg height=\"160px\" src=\"https://github.com/wasabeef/transformers/raw/main/art/jetpack-compose.svg\" align=\"right\" /\u003e\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.apache.org/licenses/LICENSE-2.0\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-Apache%202-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://search.maven.org/search?q=jp.wasabeef.gap\"\u003e\n    \u003cimg src=\"https://maven-badges.herokuapp.com/maven-central/jp.wasabeef/gap/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/wasabeef/compose-gap/actions\"\u003e\n    \u003cimg src=\"https://github.com/wasabeef/compose-gap/actions/workflows/android-ci.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nEasily adding gaps inside such as Columns and Rows for Jetpack Compose.\n\nInspired by [Flutter's Gap](https://pub.dev/packages/gap).\n\n## Introduction\nWhen it comes to add empty space between widgets inside a Column or a Row, we have multiple options:\n\nWe can either add a Padding around these widgets but it's very verbose\nOr we can add Spacer widgets between them.\nGap is another option. It's like Spacer but you don't have to know if it's inside a Row or a Column. So that it's less verbose than using a Spacer.\n\n## Features\n\nGradle settings\n```groovy\nimplementation 'jp.wasabeef:gap:1.1.0'\n```\n\nThen you just have to add a `Gap` inside a `Column` or a `Row` with the specified extent.\n```kotlin\n  Column {\n    Text(text = \"Hello\")\n    // Spacer(modifier = modifier.width(20.dp))\n    Gap(20.dp)\n    Text(text = \"World\")\n  }\n\n  Row {\n    Text(text = \"Hello\")\n    // Spacer(modifier = modifier.height(20.dp))\n    Gap(20.dp)\n    Text(text = \"World\")\n  }\n```\n\n## Contributing\n\nFeel free to open a issue or submit a pull request for any bugs/improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fcompose-gap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Fcompose-gap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fcompose-gap/lists"}