# formtastic/formtastic

A Rails form builder plugin with semantically rich and accessible markup.

Repository: https://github.com/formtastic/formtastic
Canonical: https://ross.abutalabs.com/products/formtastic
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-02-28T05:30:10+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 69, release rhythm 39, longevity 100
- inputs: {"age_days": 6722, "days_push": 186, "days_rel": 194, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5216, forks 625 (observed 2026-08-28T04:09:13.146396+00:00)

## What it is
Formtastic is a Rails FormBuilder DSL plugin for generating semantic, accessible, and easily stylable HTML forms. It provides a concise input/action API on top of Rails form helpers.

## Use cases
- generate accessible Rails forms with semantic HTML
- build forms from ActiveRecord models with minimal markup
- add labels, hints, and error messages to form inputs automatically
- create nested forms for associated models
- style forms consistently with fieldsets and lists

## When to choose
- you're on Rails and want DRY, semantic, accessible form markup
- you want automatic labels, hints, and error handling for model-backed forms
- you prefer a DSL over hand-writing form HTML

## When to avoid
- you're not using Rails or an ActiveModel-compatible ORM
- you need highly custom non-model-driven form layouts
- you're on Rails below 6.0 (or below 7.2 for the latest version)

## Facets
- artifact type: library
- maturity: stable
- function: form-handling, templating, ui-components
- domain: web-development, backend, accessibility
- platform: ruby
- tags: rails, form-builder, dsl, html-forms, semantic-markup, web-server

## Member repositories
- formtastic/formtastic (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.146396+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-29T18:00:10.464409+00:00, confidence not recorded.
  - readme: https://github.com/formtastic/formtastic (fetched 2026-08-28T04:09:13.146396+00:00, sha 69e90111c4b8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
