@faivform/builtin
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Built-in Svelte forms

Build-in forms using @tuentyfaiv/svelte-form

npm install @tuentyfaiv/svelte-form @faivform/builtin

Imports

  • Config

    import { setConfig, useGlobalFormStyles } from "@faivform/builtin";
  • Build-in forms

    // Forms components
    import {
      SigninForm,
      SignupForm,
      ContactForm,
    } from "@faivform/builtin";
    // Forms schemas
    import {
      fieldsSignin,
      fieldsSignup,
      fieldsContact,
    } from "@faivform/builtin";
  • Utils

    // Functions
    import { getTexts } from "@faivform/builtin";
    // Regex
    import {
      REGEX_NUMBERS,
      REGEX_PASSWORD,
      REGEX_PHONE,
      REGEX_PHONE_CODE,
    } from "@faivform/builtin";
  • Types

    import type {
      ConfigForm,
      FieldInputForm,
      FormStyles,
      GlobalFormProps,
      TextsProp,
      SigninValues,
      SignupValues,
      ContactValues,
    } from "@faivform/builtin";

Package Sidebar

Install

npm i @faivform/builtin

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

32.2 kB

Total Files

55

Last publish

Collaborators

  • tuentyfaiv