contact-form-lib
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

ContactFormLib

Made for Angular 8 +

This library is made to contain a simple contact form that can be used across different projects and includes a google ReCaptcha v2

Input

Component takes 2 input values:

  • siteKey - your gcaptcha siteKey;
  • contactUrl - url to send the POST request with form information including response from captcha
  • policyLink - url to your Privacy Policy
  • buttonColor - Object to set color to button. Object format: { primary: string; hover: string }
  • errColor - a string value for error hints.
  • themeColor - sets a color for the top border, filled checkbox, link and option list text. Prefer to pass in rgb or rgba format. If rgb value is not used - backround on select-items:hover will default to light-blue

Note: all color values are string and must be css appropriate

Warning: This component is built for private use in a certain project and is not meant to be a universal library for contact forms.

Readme

Keywords

none

Package Sidebar

Install

npm i contact-form-lib

Weekly Downloads

2

Version

0.2.6

License

none

Unpacked Size

323 kB

Total Files

26

Last publish

Collaborators

  • inuzen