@visual-framework/vf-form__legend
v2.0.3
Published
vf-form__legend component
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__checkboxs and vf-form__radios 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__legendSass/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
