Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A React and TypeScript library providing easy-to-use form components like Button, Input, Steps, CheckBox, and RadioButton.
FT Form Components is a React and TypeScript component library for building web forms, published on npm as ft-form-components and offering ready-made components such as Button, Input, Steps, CheckBox, and RadioButton.
FT Form Components is an open-source library that provides essential form building blocks for React developers. It takes props and JSX children as input and outputs styled, interactive components that can be customized with className. The library is written in TypeScript and runs in any React environment, including Next.js, and is installed via the npm command npm install ft-form-components.
loading boolean prop and an optional loadingComponent; when loading is true, clicks are blocked until the async function completes, preventing duplicate fetch operations.maxSteps and currentStep props and shows each step with configurable colors: completedStepColor (default #16a34a), currentStepColor (default #ca8a04), and uncompletedStepColor (default #dc2626).checked, checkChanged, and optional checkedComponent and uncheckedComponent to replace the default checkmark, and it supports an additional onClick event.values, selectedValue, and setSelectedValue, with options for selectedComponent and unselectedComponent custom icons.loading prop set to true during a fetch so users cannot trigger multiple requests by clicking repeatedly.valid boolean to display a warning message when a value is invalid, such as a username containing spaces.maxSteps and currentStep to show users which stage of a form they are on, with color coding for completed, current, and uncompleted steps.selectedValue and can display bespoke icons.Install the package with npm install ft-form-components. Import each component directly from its own file (for example, import Button from 'ft-form-components/Button'), then compose it in JSX with the props and children documented in the readme. The components accept className, so you can apply Tailwind or any other CSS framework.
Pros:
Cons:
Yes. The package is published on npm with no pricing or license fee described in the readme. The repository metadata shows zero stars, and the documentation describes it as downloadable for testing, consistent with a free open-source library.
Run npm install ft-form-components in your project. Then import individual components from their own paths, such as import Steps from 'ft-form-components/Steps' or import Input from 'ft-form-components/Input', and use them in your JSX.
Yes. The repository topics include nextjs, and the readme examples are written in a Next.js-style React component format. The components themselves are framework-agnostic within React, so they work in any React or Next.js project without extra configuration.
Yes. All components accept a className prop, and the readme shows examples applying Tailwind classes like bg-blue-600 px-4 py-2 to Button and border-gray-600 border rounded to Input.InputArea. The library does not require a specific CSS framework.
The readme's checklist shows five items not yet implemented: Image and video picker, Autocomplete dropdown list, Basic dropdown list, Masked inputs for phone numbers and credit cards, and Credit card view. These will be added as development continues.
