npm.io
2.0.3 • Published 1 year ago

@visual-framework/vf-form__legend

Licence
Apache 2.0
Version
2.0.3
Deps
0
Size
25 kB
Vulns
0
Weekly
0

Form Legend component

npm version

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__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

Help

Keywords