Tailwind CSS Forms

A basic reset for form styles that makes form elements easy to override with Tailwind utilities

Library
npm
v0.5.11
4,567stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
51/100Fair
Development Activity16
Maintenance32
Community56
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
70/100Good
Architecture68
Code Quality60
Innovation62
Learning Curve90

Tailwind CSS Forms is the official Tailwind plugin that normalizes browser default styling on form elements — inputs, textareas, selects, checkboxes, and radio buttons — so they can be restyled entirely with Tailwind utility classes instead of fighting inconsistent user-agent stylesheets across browsers.

It injects a small set of base styles (via Tailwind’s addBase/addComponents plugin API) that strip out things like default border radius, box shadow, and background images on native form controls, replacing checkbox/radio appearance with SVG data URIs so they can still be colored and sized with utilities like text-indigo-600.

What You Get

  • A globalStyles/className strategy (opt-in class mode or automatic global reset) applied via Tailwind’s plugin system
  • Reset styling for text inputs, textareas, and selects so borders/shadows/focus rings come purely from utility classes
  • Custom SVG-based checkbox and radio button appearance that can be recolored with standard Tailwind color utilities
  • Support for disabled, checked, indeterminate, and focus states without extra custom CSS
  • Compatibility with both Tailwind CSS v3 and v4 via a single peer-dependency range

Common Use Cases

  • Building a sign-up or login form styled purely with Tailwind utilities without writing custom form CSS
  • Restyling checkboxes and radio buttons to match a design system’s brand color instead of the browser default blue
  • Normalizing form-control appearance across Chrome, Firefox, and Safari in a marketing site or dashboard
  • Quickly prototyping admin/dashboard forms where every input needs a consistent focus-ring and border treatment

Under The Hood

Architecture — The plugin is a single-purpose Tailwind plugin defined in src/index.js, registered via Tailwind’s plugin() API; it calls addBase to inject a scoped CSS reset (or addComponents when strategy: 'class' is configured) targeting native form element selectors, and it uses the mini-svg-data-uri dependency to inline the checkbox/radio-button check-mark and dot as data-URI background images so they can be recolored via background-color utilities. Tech Stack — Plain JavaScript (no build step for the library itself — it ships src/index.js directly), with a tailwind.config.js and index.html/kitchen-sink.html used as a manual visual testing harness rather than an automated suite; PostCSS/Autoprefixer and live-server support a local dev-preview workflow. Code Quality — The codebase is intentionally minimal (two files: index.js and its type declaration index.d.ts), which keeps the surface area small and easy to audit, but the test script is a no-op (exit 0) — there is no automated test suite, and correctness is verified manually via the kitchen-sink HTML page and visual review. API Design — Zero-config by default (styles apply globally to all form elements once the plugin is registered) with an opt-in strategy: 'class' mode that requires an explicit form-input/form-checkbox class instead, giving consumers a clear escape hatch when the global reset is too aggressive for an existing codebase; this two-mode design is the plugin’s main ergonomic strength.

Used by 59 apps in this directory

TypeScript
76%
AGPL 3.0

Abby

Developer Tools · Product Management

167

Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.

View details
30
Repo Health
70
Technical
63
Dependency
Built with
TypeScript76%
MDX18%
Updated 1 years ago
TypeScript
59%
Other

agenta

Developer Tools · Devops · AI Development

4,489

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript59%
Python39%
Updated today
Other

Akaunting

Invoicing Finance

10,070

Open-source online accounting for small businesses and freelancers — invoices, expenses, and reporting without monthly fees or vendor lock-in.

View details
98
Repo Health
73
Technical
63
Dependency
Updated yesterday
PHP
63%
Other

BillaBear

Ecommerce · Invoicing Finance

754

Self-hostable subscription management and billing platform with Stripe integration, tax automation, configurable workflows, and Twig-based document generation.

View details
47
Repo Health
66
Technical
66
Dependency
Built with
PHP63%
Vue18%
Gherkin13%
Updated 2 months ago
TypeScript
75%
GPL 3.0

Bramble

Password Manager · Security · Authentication

315

Local-first, end-to-end encrypted password manager that syncs your vault directly between your own devices over a private peer-to-peer mesh — no server, no account, no cloud in the middle.

View details
73
Repo Health
84
Technical
72
Dependency
Built with
TypeScript75%
Updated today
Python
83%
Other

Bugsink

Developer Tools · Monitoring

2,018

Self-hosted error tracking that accepts Sentry SDKs out of the box, so you keep your instrumentation and drop the monthly bill.

View details
84
Repo Health
80
Technical
76
Dependency
Built with
Python83%
HTML15%
Updated 1 weeks ago
Go
52%
MIT

Bytebase

Devops

14,396

An open-source database CI/CD and DevSecOps platform — schema migration review, GitOps-driven changes, data masking, and access control across MySQL, PostgreSQL, Oracle, Snowflake, MongoDB, and more.

View details
92
Repo Health
73
Technical
69
Dependency
Built with
Go52%
TypeScript39%
Updated today
Java
73%
Other

ByteChef

Automation · AI Agents

990

Unified open-source platform for AI agent orchestration and workflow automation with 180+ connectors, MCP support, and durable execution.

View details
81
Repo Health
82
Technical
73
Dependency
Built with
Java73%
TypeScript26%
Updated 2 days ago
TypeScript
53%
Other

Chaskiq

CRM · Customer Support

3,560

Self-hosted live chat, video calls, help center, and marketing automation — a full-stack Intercom alternative you run on your own infrastructure.

View details
60
Repo Health
66
Technical
68
Dependency
Built with
TypeScript53%
Ruby36%
Updated 1 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search