New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tw-bootstrap-grid

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tw-bootstrap-grid

A Tailwind CSS plugin that adds a responsive, Bootstrap-style grid system.

latest
Source
npmnpm
Version
1.3.3
Version published
Maintainers
1
Created
Source

tw-bootstrap-grid

A Tailwind CSS plugin that adds a responsive, Bootstrap-like 12-column grid system to Tailwind.
Works with Tailwind CSS v3.4.x and v4+, including full RTL (Right-to-Left) support.

npm version npm downloads bundle size license RTL Support Demo

✨ Features

  • .row, .col, .col-1 to .col-12 for flexible column layouts.
  • .g-*, .gx-* and .gy-* for gutter spacing (uses Tailwind spacing scale).
  • .offset-* to add horizontal column offsets.
  • .row-cols-(1-6) classes evenly divide row children into equal columns.
  • .container and .container-fluid with responsive max-widths.
  • Automatically adapts .row, .offset-* and .container for right-to-left layouts.

📦 Installation

Install the plugin via NPM:

npm install tw-bootstrap-grid

or with Yarn:

yarn add tw-bootstrap-grid

⚙️ Quick Setup

Tailwind v3 Config

import Grid from "tw-bootstrap-grid";

export default {
    content: ["./src/**/*.{html,js,ts,jsx,tsx}"],
    plugins: [Grid],
};

Tailwind v4 (CSS / PostCSS)

@import "tailwindcss";
@plugin "tw-bootstrap-grid";

📘 Documentation & Examples

👉 Find the full documentation, setup guide, and interactive examples on Docs & Live Examples.

🧠 Notes

  • The plugin does not override any core Tailwind utility.
  • All grid utilities support responsive variants (sm:, md:, lg:, etc).
  • Gutters are handled using CSS custom properties: --theme-gutter-x and --theme-gutter-y.
  • Fully RTL-compatible: all directional utilities (offset, container, row) adapt automatically to dir="rtl".
  • This plugin is not compatible with Tailwind via CDN. Use it in a build environment (PostCSS, Vite, Webpack, etc.).

🤝 Contributing

Found a bug or have a feature request? Feel free to open an issue or submit a pull request!

🪪 License

MIT © Baver Bozdağ

Keywords

tailwind

FAQs

Package last updated on 01 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts