2.0.0-alpha.0 • Published 3 years ago

@visual-framework/vf-form__legend v2.0.0-alpha.0

Weekly downloads
355
License
Apache 2.0
Repository
-
Last release
3 years ago

Form Legend component

npm version

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. After installing 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