# @visual-framework/vf-form__legend

> vf-form__legend component

Latest version **2.0.3** (published 2025-02-25) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install @visual-framework/vf-form__legend
pnpm add @visual-framework/vf-form__legend
yarn add @visual-framework/vf-form__legend
bun add @visual-framework/vf-form__legend
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2025-02-25 |
| First published | 2020-04-03 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | VF |
| Maintainers | sandykadam, ebiwebdev, khawkins98, pacope92, bhushan-ebi |
| Keywords | fractal, component |

## Links

- npm: https://www.npmjs.com/package/@visual-framework/vf-form__legend
- Homepage: https://stable.visual-framework.dev
- Issues: https://github.com/visual-framework/vf-core/issues
- npm.io page: https://npm.io/package/@visual-framework/vf-form__legend

## Recent versions

- 2.0.3 (latest) — 2025-02-25
- 2.0.2 — 2024-05-17
- 2.0.1 — 2024-05-01
- 2.0.0 — 2024-05-01
- 2.0.0-alpha.1 — 2024-05-01
- 2.0.0-alpha.0 — 2021-03-24
- 1.1.2 — 2021-02-25
- 1.1.0 — 2020-10-20
- 1.0.1 — 2020-04-15
- 1.0.0 — 2020-04-03

## README

# Form Legend component

[![npm version](https://badge.fury.io/js/%40visual-framework%2Fvf-form__legend.svg)](https://badge.fury.io/js/%40visual-framework%2Fvf-form__legend)

## 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](https://classic.yarnpkg.com/en/docs/install), 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](https://sass-lang.com/). 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](https://stable.visual-framework.dev/building/) or the [`vf-sass-starter`](https://stable.visual-framework.dev/components/vf-sass-starter/)

## Help

- [Read the Visual Framework troubleshooting](https://stable.visual-framework.dev/troubleshooting/)
- [Open a ticket](https://github.com/visual-framework/vf-core/issues)
- [Chat on Slack](https://join.slack.com/t/visual-framework/shared_invite/enQtNDAxNzY0NDg4NTY0LWFhMjEwNGY3ZTk3NWYxNWVjOWQ1ZWE4YjViZmY1YjBkMDQxMTNlNjQ0N2ZiMTQ1ZTZiMGM4NjU5Y2E0MjM3ZGQ)

---
_Source: https://npm.io/package/@visual-framework/vf-form__legend · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
