@visual-framework/vf-form__helper

vf-form__helper component

Usage no npm install needed!

<script type="module">
  import visualFrameworkVfFormHelper from 'https://cdn.skypack.dev/@visual-framework/vf-form__helper';
</script>

README

Form Helper component

npm version

About

The vf-form__helper can be used to add more descriptive, explanatory text to help guide the site visitor.

Usage

If you need to include more descriptive explanations of what the input requires make use of the component <span class="vf-form__helper"></span> where you can add more text.

If your form has any type of validation (either on the client or server) you can make use of vf-form__helper--error to help with inputs that do not have the correct content.

Install

This component is distributed with npm. After installing npm, you can install the vf-form__helper with this command.

$ yarn add --dev @visual-framework/vf-form__helper

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-form__helper/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help