2.0.0-alpha.0 • Published 3 years ago

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

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

Form Fieldset component

npm version

About

The vf-form__fieldset is used to group a set related form inputs.

Usage

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.

Install

This repository is distributed with npm. After installing npm and yarn, you can install vf-form__fieldset with this command.

$ yarn add --dev @visual-framework/vf-form__fieldset

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__fieldset/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help