{"id":13480202,"url":"https://github.com/karolis-sh/tailwind-bootstrap-grid","last_synced_at":"2025-05-15T17:08:12.475Z","repository":{"id":38341944,"uuid":"167566658","full_name":"karolis-sh/tailwind-bootstrap-grid","owner":"karolis-sh","description":"Tailwind CSS plugin that generates Bootstrap's flexbox grid","archived":false,"fork":false,"pushed_at":"2025-04-11T14:49:57.000Z","size":4398,"stargazers_count":186,"open_issues_count":2,"forks_count":21,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T16:15:13.577Z","etag":null,"topics":["bootstrap4","css","flexbox","flexbox-grid","postcss","tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"https://tailwind-bootstrap-grid.netlify.app","language":"JavaScript","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/karolis-sh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-01-25T15:14:07.000Z","updated_at":"2025-04-23T10:05:50.000Z","dependencies_parsed_at":"2023-11-20T10:36:58.961Z","dependency_job_id":"caad30f3-8001-4221-8da9-62fa5d2a0ae2","html_url":"https://github.com/karolis-sh/tailwind-bootstrap-grid","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolis-sh%2Ftailwind-bootstrap-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolis-sh%2Ftailwind-bootstrap-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolis-sh%2Ftailwind-bootstrap-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolis-sh%2Ftailwind-bootstrap-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karolis-sh","download_url":"https://codeload.github.com/karolis-sh/tailwind-bootstrap-grid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253576269,"owners_count":21930169,"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":["bootstrap4","css","flexbox","flexbox-grid","postcss","tailwindcss","tailwindcss-plugin"],"created_at":"2024-07-31T17:00:35.652Z","updated_at":"2025-05-15T17:08:07.463Z","avatar_url":"https://github.com/karolis-sh.png","language":"JavaScript","readme":"# tailwind-bootstrap-grid\n\n[![npm version][version-badge]][version]\n![Build Status](https://github.com/karolis-sh/tailwind-bootstrap-grid/workflows/Node.js%20CI/badge.svg)\n[![License: MIT][license-badge]][license]\n\nBootstrap **v5** flexbox grid system as a Tailwind CSS plugin.\n\nCheck the [demo](https://tailwind-bootstrap-grid.netlify.app/).\n\n## Installation\n\n```shell\nnpm i -D tailwind-bootstrap-grid\n```\n\nIn `tailwind.js` file:\n\n```js\nmodule.exports = {\n  plugins: [\n    require('tailwind-bootstrap-grid')({\n      containerMaxWidths: {\n        sm: '540px',\n        md: '720px',\n        lg: '960px',\n        xl: '1140px',\n      },\n    }),\n  ],\n};\n```\n\nAnd don't forget to include `components` and `utilities` in your tailwind base\ncss file:\n\n```css\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```\n\nThis will generate Bootstrap v5 flexbox grid.\n\n\\* **NOTE**: When using the `.container` class from this plugin you will need to\n[disable](https://tailwindcss.com/docs/container#disabling-entirely) the core\n[container plugin](https://tailwindcss.com/docs/container/) as both plugins\nexpose a `.container` class.\n\n## Features \u0026 Tailwind CSS options support\n\n- ✅ custom screens\n- ✅ custom separator\n- ✅ custom prefix\n- ✅ important\n- ✅ rtl support\n\n## Options\n\n- Original Bootstrap grid's options:\n\n  - `gridColumns` (default - `12`) - grid size\n  - `gridGutterWidth` (default - `\"1.5rem\"`) - container and rows gutter width\n  - `gridGutters` (default - `{ 0: 0 }`) - gutter variable class steps\n    (`--bs-gutter-x`, `--bs-gutter-y`)\n  - `containerMaxWidths` (default - `{}`) - the `max-width` container value for\n    each breakpoint\n\n- Extra options:\n  - `generateContainer` (default - `true`) - whether to generate `.container` and\n    `.container-fluid` classes\n  - `rtl` (default - `false`) - rtl support (`.offset-x` classes will start\n    responding to `[dir=ltr]` / `[dir=rtl]`)\n  - `respectImportant` (default - `true`) - whether it should respect the `important`\n    root config option\n\n## FAQ\n\n1. _**Why my `.container` doesn't have padding?**_ This plugin will not work properly\n   with [core container plugin](https://tailwindcss.com/docs/container/) as both\n   plugins expose a `.container` class.\n1. _**How to use rtl css?**_ Set the `ltr` or `rtl` [dir](https://www.w3schools.com/tags/att_global_dir.asp)\n   attribute on your container (usually the root `html`).\n1. _**Is there a Bootstrap v4 grid implementation?**_ Yes, use `tailwind-bootstrap-grid@3`.\n\n## Related\n\n[postcss-bootstrap-4-grid](https://github.com/johnwatkins0/postcss-bootstrap-4-grid)\n\n[version-badge]: https://badge.fury.io/js/tailwind-bootstrap-grid.svg\n[version]: https://www.npmjs.com/package/tailwind-bootstrap-grid\n[license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg\n[license]: https://opensource.org/licenses/MIT\n","funding_links":[],"categories":["Plugins","TypeScript","JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarolis-sh%2Ftailwind-bootstrap-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarolis-sh%2Ftailwind-bootstrap-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarolis-sh%2Ftailwind-bootstrap-grid/lists"}