New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@elemental-ui-alpha/fieldset

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elemental-ui-alpha/fieldset

The fieldset is used to group several form controls under a single legend.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

Fieldset

import { Fieldset } from '@elemental-ui-alpha/fieldset';

Usage

Wrap the group of related inputs with the fieldset and provide a legend. The Fieldset component extends the Stack component.

<Fieldset legend="Billing Address" gap="large">
  <TextInput label="Address line 1" />
  <TextInput label="Address line 2" placeholder="(optional)" />
  <TextInput label="City" />
  <Columns gap="medium">
    <TextInput label="State" />
    <TextInput label="Postcode" />
  </Columns>
</Fieldset>

Legend Appearance

Though it must be present, you can alter the appearance of the legend:

  • legend (default)
  • label
  • none
<Fieldset legend="What's your name?" legendAppearance="label">
  <Columns gap="medium">
    <TextInput
      label="first name"
      labelVisibility="hidden"
      placeholder="First name"
    />
    <TextInput
      label="last name"
      labelVisibility="hidden"
      placeholder="Last name"
    />
  </Columns>
</Fieldset>

FAQs

Package last updated on 24 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts