JSPM

react-form-guardian

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q12418F
  • License MIT

Güvenli, özelleştirilebilir ve kullanıcı dostu çok adımlı form yönetimi için React kütüphanesi

Package Exports

  • react-form-guardian
  • react-form-guardian/dist/index.js
  • react-form-guardian/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-form-guardian) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Form Guardian

Güvenli, özelleştirilebilir ve kullanıcı dostu çok adımlı form yönetimi için React kütüphanesi.

npm version License: MIT

Kurulum

npm install react-form-guardian
# veya
yarn add react-form-guardian

Temel Kullanım

import { useFormWizard } from 'react-form-guardian';

const FormWizard = () => {
  const wizard = useFormWizard({
    steps: [
      {
        id: 'kisisel',
        title: 'Kişisel Bilgiler',
        fields: ['tcKimlik', 'email']
      },
      {
        id: 'adres',
        title: 'Adres Bilgileri',
        fields: ['il', 'ilce']
      }
    ],
    formConfig: {
      tcKimlik: {
        required: true,
        rules: [tcKimlikRule]
      },
      email: {
        required: true,
        rules: [emailRule]
      }
    }
  });

  return (
    <form onSubmit={wizard.handleSubmit}>
      {/* Form içeriği */}
    </form>
  );
};

Özellikler

  • 🔒 Yerleşik Güvenlik: CSRF koruması
  • 🎨 Tema Sistemi: 10+ hazır tema
  • Form Yönetimi: Çok adımlı formlar
  • 📝 Doğrulama: TC Kimlik, IBAN, kredi kartı vb.

Dokümantasyon

Detaylı dokümantasyon için:

Lisans

MIT © Yağız Eke