# bootstrap-ruby/bootstrap_form

Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.

Repository: https://github.com/bootstrap-ruby/bootstrap_form
Canonical: https://ross.abutalabs.com/products/bootstrap_form
Language: Ruby
License: MIT
License Family: permissive
Topics: rails, ruby, bootstrap, rails-form-builder
Last push: 2026-05-04T02:05:29+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 58, longevity 100
- inputs: {"age_days": 5353, "days_push": 122, "days_rel": 122, "gap_med": 92.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1643, forks 351 (observed 2026-08-28T04:05:15.909537+00:00)

## What it is
bootstrap_form is a Ruby gem that provides a Rails form builder for generating Bootstrap 5-style forms. It augments standard Rails form helpers to automatically produce labels, validation error messages, help text, and all required Bootstrap markup.

## Use cases
- create Bootstrap 5 forms in Rails with less ERB code
- render form fields with labels and validation error messages automatically
- build horizontal Bootstrap forms in a Rails app
- add help text and required-field markup consistently across forms
- migrate Rails forms to Bootstrap 5 styling

## When to choose
- you are building a Rails 7.2+ app with Bootstrap 5 and want clean, maintainable form markup
- you want automatic validation error display and required-field handling without hand-writing Bootstrap classes
- you want to reduce boilerplate in your .erb view files

## When to avoid
- you use Bootstrap 4 or earlier, which this gem does not target
- you don't use Rails or its form helpers
- you need highly custom form markup that fights the gem's generated structure

## Facets
- artifact type: library
- maturity: active
- function: templating, ui-components, form-handling
- domain: web-development, frontend, backend
- platform: ruby
- tags: rails, bootstrap, form-builder, gem, erb

## Member repositories
- bootstrap-ruby/bootstrap_form (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.909537+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:45:58.602004+00:00, confidence not recorded.
  - readme: https://github.com/bootstrap-ruby/bootstrap_form (fetched 2026-08-28T04:05:15.909537+00:00, sha abea5eb3aa7d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
