The vf-form__fieldset
is used to group a set related form inputs.
Use the vf-form__fieldset
component to display a relationship between multiple form inputs. You can also need use a vf-form__fieldset
inside of another vf-form__fieldset
, this would be good to group multiple vf-form__checkbox
inputs and allow for a vf-form__legend
to give the inputs a heading or question. To make it more obvious what we are asking the site visitor to fill out and why, it is recommened to use a vf-form__legend
within each vf_form__fieldset
.
This repository is distributed with [npm][https://www.npmjs.com/]. After [installing npm][https://www.npmjs.com/get-npm] and yarn, you can install vf-form__fieldset
with this command.
$ yarn add --dev @visual-framework/vf-form__fieldset
The style files included are written in Sass. If you're using a VF-core project, you can import it like this:
@import "@visual-framework/vf-form__fieldset/index.scss";
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter