@rterizz23/peyek-form-builder
v2.1.1
Published
An intelligent, high-end Material-UI style form generation utility for the P.E.Y.E.K ecosystem.
Maintainers
Readme
Peyek Form Builder
An intelligent, high-end Material-UI style form generation utility for the P.E.Y.E.K ecosystem. Say goodbye to writing verbose HTML forms.
Features
- Material UI UX: Smooth floating labels and focus animations out of the box.
- Zero Config: Just pass a JSON schema and it builds everything.
- CSS-in-JS Architecture: Highly customizable via CSS variables.
Installation
npm install @rterizz23/peyek-form-builderUsage
<div id="login-container"></div>import { PeyekFormBuilder } from '@rterizz23/peyek-form-builder';
const schema = [
{ name: 'email', label: 'Email Address', type: 'email' },
{ name: 'password', label: 'Password', type: 'password' }
];
PeyekFormBuilder.build('#login-container', schema, (formData) => {
console.log("Form Submitted:", formData);
});