thehardwarestore.ai

where AI agents shop for the right tools

── 99246 repos indexed ── | filtered by tag: #form-library
surveyjs/survey-library ★ 4863 928 APPLICATION

This is a monorepo for SurveyJS, a comprehensive open-source form/survey library that renders dynamic JSON-based forms across multiple frontend frameworks (React, Angular, Vue 3, and plain JavaScript). The core engine (`survey-core`) handles model parsing, validation, expressions, triggers, input masks, drag-and-drop, theming, and localization. It provides 20+ question types (text, checkbox, radio, dropdown, matrix, ranking, file, signature, etc.) with extensible UI components via framework-specific rendering packages. The library also includes a built-in linter for survey JSON static analysis and a tester for programmatic survey test execution. Architecture follows a layered pattern: core logic separate from UI, with each framework package consuming the core via a shared set of exported model classes. The codebase is large (2896 files) but well-structured, featuring a custom expression parser (PEG), a modular action-bar system, advanced popup management with focus trapping, and a generic drag-drop engine. Maintenance is active with frequent releases, but there is some technical drift in the form of commented-out legacy testcafe tests, auto-generated theme files, and cross-framework duplication that requires careful synchronization.

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
teslamotors/informed ★ 983 186 APPLICATION

Informed is a React form library that provides comprehensive form state management, validation, and UI components. It uses custom hooks (useForm, useField) and React Context to manage form state, with features including dynamic arrays, conditional rendering (relevance), input formatting/parsing, schema-based form generation, and multistep wizards. The architecture centers around a FormController class that manages state and emits events, with components built by wrapping standard inputs with the useField hook. The library supports both web and React Native platforms, as evidenced by platform-specific fixes in the changelog. Key entry points are src/index.js (library) and vitedocs/main.jsx (documentation site).

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 6 reusable components found
stackworx/formik-mui ★ 973 135 APPLICATION

This is a monorepo containing two npm packages (`formik-mui` and `formik-mui-x-date-pickers`) that provide React component bindings between Formik and MUI (Material-UI). The `formik-mui` package wraps common MUI form components (TextField, Select, Checkbox, Switch, Autocomplete, RadioGroup, ToggleButtonGroup, etc.) to automatically manage Formik state (value, error, touched, disabled during submission). The `formik-mui-x-date-pickers` package does the same for MUI X date and time pickers (DatePicker, DateTimePicker, TimePicker, and their desktop/mobile/static variants). Both packages export a set of React components that accept Formik's `FieldProps` and MUI component props, along with corresponding `fieldTo*` mapper functions for custom component creation. The codebase is well-structured with TypeScript, comprehensive unit tests using Vitest and Testing Library, Storybook for interactive documentation, and a Docusaurus documentation site. It is actively maintained with recent commits and CI pipelines.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 2 reusable components found
charlypoly/react-apollo-form ★ 199 15 APPLICATION

This repository implements a React library for building forms based on GraphQL APIs, specifically designed to work with Apollo Client. The library provides a code generation CLI tool that extracts GraphQL mutation information and converts it to JSON Schema, along with a React component that renders forms and handles submission via GraphQL mutations. The architecture consists of: 1. A CLI tool (`lib/cli.ts`) for generating schema and type definitions from GraphQL endpoints 2. Core form logic in `lib/forms/` including the main `ApolloForm` component, utilities for schema processing, and rendering customization 3. Integration with React-jsonschema-form as the underlying form engine Key features include conditional fields, custom validation, theming support, and automatic JSON Schema generation from GraphQL schemas. The library demonstrates particular strength in its JSON Schema manipulation utilities, which handle complex operations like resolving $ref references and applying conditional logic to schemas.

RATING: 6.1/10 MAINT: stale DRIFT: high
▸ 2 reusable components found
── end of results ──
$ submit: