@visual-framework/vf-form__legend
v2.0.2
Published
vf-form__legend component
Downloads
2,298
Readme
Form Legend component
About
A vf-form__legend
is used to describe a group of inputs in a vf-form
.
Usage
The vf-form__legend
should only be used in a vf-form__fieldset
and must be the first item in the fieldset.
A vf-form__legend
is used to describe a group of inputs in a vf-form
. They should be used for groups of vf-form__checkbox
s and vf-form__radio
s but can be used with any related groups inside a vf-form__fieldset
.
Install
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__legend
with this command.
$ yarn add --dev @visual-framework/vf-form__legend
Sass/CSS
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__legend/index.scss";
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter