Declarative-forms
Ask the user for an object, the way prompt() asks for a string. A form is a function you call, not a component you mount. Zero dependencies, framework agnostic, with async options, cross-field reactivity, tabs and stacked dialogs.
Launched as “Declarative-forms – await an object the way prompt() awaits a string”
Declarative-forms launched on August 21, 2026 with 12 votes, #915 of 23,210 launches that month and more than 90% of that year's launches.
In plain words
Declarative-forms is a JavaScript library that lets developers collect user input by calling a function and awaiting an object, similar to how prompt() works with strings. It requires zero dependencies and works framework-agnostic, supporting features like cross-field reactivity, tabs, stacked dialogs, and async options. Rather than mounting components, developers define form fields as a simple array and receive the completed object directly.
written from the facts on this page · September 2026
From the sources
Ask the user for an object, the way prompt() asks for a string. Every other form library gives you a component to mount . This one gives you a function to call : That is the whole integration. There is no component, no form state, no mount point, and no place in your tree where the form has to live. You ask a question from wherever you happen to be standing in your code, and the answer arrives where you asked. The dialog draws itself, loads its own options, keeps every field in sync, and resolves. prompt() is the one form API the browser gives you for free, and the shape everybody finds obvious: you ask, the browser draws the dialog, you get the answer. Its only flaw is that it asks for…from wolfoo2931.github.io
Pricing, as stated on its site
Free — Free and open source
checked November 2026 · prices change
Does a similar job
free ones →all alternatives →
ShapeForm2019 · github.com · ▲118A form library that uses JSON schema and works with Redux. Originally a part of the TakeShape React web client.

- GGolemUIJul 2026 · golemui.com · ▲53
GolemUI is an open-source library that generates forms dynamically from JSON definitions, allowing developers to store, version, and manage form structures in databases or generate them with LLMs.


More dev tools this month
the category →


LiveReview▲280Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes
Dev tools · 28d ago · hexmos.com


Put a game, quiz or survey in your next email. No coding
Dev tools · 12d ago · stripo.email
Is Declarative-forms yours? Feature it on the home page: $19, or free with the badge →
Source: Show HN post ↗
Launched alongside, August 2026
the whole month →- TL
This is an interactive exploration tool that examines Claude's core vocabulary and language patterns.
Life & fun · Aug 2026 · louisabraham.github.io

Clipto MCP▲655Clipto MCP is a tool that integrates with AI agents like Claude and ChatGPT to search and extract clips from videos, photos, and audio files stored locally on a computer.
Work · Aug 2026 · clipto.com

This tool provides a color picker and procedural generation algorithm designed to help digital artists and game developers select and create diverse, plausible skin tones.
Life & fun · Aug 2026 · toneyalexander.github.io

Astute▲606Automate your B2B brand going viral, with new media creators
AI · Aug 2026 · company-app.joinastute.com