@visual-framework/vf-form__textarea
v3.0.0-alpha.0
Published
vf-form__textarea component
Downloads
2,293
Readme
Form Textarea component
About
The vf-form__textarea
allows a site visitor to enter text on multiple lines.
Usage
Use the vf-form__textare
when you want the site visitor to enter text on multiple lines or when the information they need to input is not short.
If you are wanting the site visitor to answer multiple questions inside a vf-form__textarea
it is better to split these question up and use multiple vf-form__input
s.
The vf-from__textarea
must be accompanied by a descriptive vf-form__label
.
Install
This component is distributed with npm. After installing npm, you can install the vf-form__textarea
with this command.
$ yarn add --dev @visual-framework/vf-form__textarea
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__textarea/index.scss";
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter