nowfound

Dev tools · August 21, 2026

DF

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

  • Formless2023 · formless.ai · ▲436

    Answer user questions and redirect them to the right place

  • ShapeForm2019 · github.com · ▲118

    A form library that uses JSON schema and works with Redux. Originally a part of the TakeShape React web client.

  • React Hook Form2019 · react-hook-form.com · ▲112

    React hook for form validation without the hassle

  • G
    GolemUIJul 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.

  • Formbutton2020 · formspree.io · ▲103

    Does one thing well. Simple to integrate. Has a free option.

  • Mosaic2019 · github.com · ▲63

    🎨 A front-end JavaScript library for building user interfaces!

More dev tools this month

the category →
  • Rakazo▲413

    The open source Grok Bot alternative you actually own

    Dev tools · 9d ago · rakazo.com

  • OmniDiff▲321

    Fast, robust, accurate diffing .

    Dev tools · 21d ago · github.com

  • Your agentic analytics platform in the terminal

    Dev tools · 27d ago · github.com

  • Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes

    Dev tools · 28d ago · hexmos.com

  • Docker▲268

    Built to run on trust, for the agentic era

    Dev tools · 3d ago · docker.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

  • Hey Noah▲656

    A proactive AI executive assistant for founders

    AI · Aug 2026 · heynoah.io

  • Clipto 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

  • AdAnt AI▲620

    Claude for viral, high-converting social ads

    AI · Aug 2026 · adant.ai

  • Astute▲606

    Automate your B2B brand going viral, with new media creators

    AI · Aug 2026 · company-app.joinastute.com