Bootstrap Form Group Columns

Ruth Jul 09, 2026

Bootstrap, a popular open-source CSS framework, offers a robust grid system that simplifies responsive web design. One of its key components is the form group, which helps structure and layout forms. Within this structure, columns play a crucial role in organizing form elements. Let's delve into Bootstrap's form group columns, exploring their functionality, implementation, and best practices.

Better Forms: Right aligned labels in two column layout
Better Forms: Right aligned labels in two column layout

Bootstrap's grid system is built with flexbox and provides a mobile-first fluid grid system that adjusts to different screen sizes. Form groups and their columns are integral parts of this system, enabling developers to create clean, responsive forms with ease.

Friend group form!
Friend group form!

Understanding Form Group Columns

Form group columns are used to divide and organize form elements within a form group. They help control the layout and alignment of form elements, improving the overall user experience. Each column has a specific width, determined by the number of columns in a row and the device size.

a collage of images with the words all elements on them
a collage of images with the words all elements on them

Bootstrap uses a 12-column grid system, meaning you can divide a row into up to 12 columns. The width of each column is determined by the number of columns it spans. For instance, a single column (col-1) spans one-twelfth of the row, while a six-column (col-6) spans half the row.

Basic Usage

Take my long form if you're bored!!
Take my long form if you're bored!!

To use form group columns, wrap the desired form elements within the appropriate column classes. Here's a basic example:

<div class="form-group row">
  <label for="inputEmail3" class="col-form-label col-2">Email</label>
  <div class="col-10">
    <input type="email" class="form-control" id="inputEmail3">
  </div>
</div>

In this example, the label spans two columns (col-2), and the input field spans ten columns (col-10), ensuring proper alignment and spacing.

Responsive Columns

mixed friend group form!
mixed friend group form!

Bootstrap's grid system is responsive, meaning columns adjust their width based on the device's screen size. You can specify the number of columns a element should span at different screen sizes using responsive utility classes. For example:

<div class="col-sm-6 col-md-4">...</div>

In this case, the element will span six columns on screens larger than the small breakpoint (sm) and four columns on screens larger than the medium breakpoint (md).

Form Group Columns with Offset

Hiii do you want to be added to my gc?
Hiii do you want to be added to my gc?

Sometimes, you might need to offset a column to create gutters or space between elements. Bootstrap provides offset utility classes to achieve this. Offset classes follow the same naming convention as column classes, e.g., `offset-md-4` for an offset of four columns at the medium breakpoint.

Here's an example:

BORED FORM (MULTIPLE CHOICE ONLY)
BORED FORM (MULTIPLE CHOICE ONLY)
do my long form Plssss
do my long form Plssss
How alike are we form?
How alike are we form?
Block Library: Column: Add predefined
Block Library: Column: Add predefined
Fandom form for if ur bored and want more friends ! || Created: 9/18/2025
Fandom form for if ur bored and want more friends ! || Created: 9/18/2025
I UPDATED IT!!
I UPDATED IT!!
Random for when you're bored💫
Random for when you're bored💫
the logo for bootstrap is shown on a purple background with white letters that spell out
the logo for bootstrap is shown on a purple background with white letters that spell out
Very long and specific google form
Very long and specific google form
Free Template 393 Fantasy
Free Template 393 Fantasy
dis my first google form :P
dis my first google form :P
New gc 9 SPACES LEFT !!
New gc 9 SPACES LEFT !!
How to Create Forms in monday work management | TechRepublic
How to Create Forms in monday work management | TechRepublic
first form lmao
first form lmao
Pls do my Google Form
Pls do my Google Form
two children are standing in front of the entrance to a building with columns on both sides
two children are standing in front of the entrance to a building with columns on both sides
bootstrap form group columns
bootstrap form group columns
an image of a website page with the words forms on it
an image of a website page with the words forms on it
different types of columns used in construction
different types of columns used in construction
https://docs.google.com/forms/d/1wXC619GiJktQyO-AjNv2bqalYirnD_c9kqyG9md3irk/edit?pli=1
https://docs.google.com/forms/d/1wXC619GiJktQyO-AjNv2bqalYirnD_c9kqyG9md3irk/edit?pli=1

<div class="form-group row">
  <label for="inputEmail3" class="col-form-label col-2">Email</label>
  <div class="col-5 offset-md-2">
    <input type="email" class="form-control" id="inputEmail3">
  </div>
</div>

In this case, the input field is offset by two columns on screens larger than the medium breakpoint.

In conclusion, Bootstrap's form group columns are powerful tools for creating responsive, well-organized forms. By understanding and leveraging these columns, you can build user-friendly forms that adapt to various screen sizes and devices. Happy coding!