Declarative Auth Forms

Declarative Auth Forms for Better Auth

Generate authentication UIs from JSON Schema, styled with shadcn/ui

schema.json
{
  "type": "login",
  "fields": [
    {
      "name": "email",
      "type": "email",
      "label": "Email",
      "required": true
    },
    {
      "name": "password",
      "type": "password",
      "label": "Password",
      "required": true
    }
  ],
  "submit": "Sign In"
}
Rendered Form

Why Declarative Auth Forms?

Declarative JSON
Define your auth forms with simple JSON schemas. No complex component trees.
shadcn/ui Integration
Built on top of shadcn/ui components for beautiful, accessible forms.
Better Auth Ready
Seamlessly integrates with Better Auth for production-ready authentication.
Extensible
Customize validation, styling, and behavior to match your needs.