@hixme-ui/label

2.1.0 • Public • Published

Label

npm i --save @hixme-ui/label

View it live

Basic Usage

Use it anywhere you would use a form label. Label works with all the same props as Text. Customize your form label as needed.

import Label from '@hixme-ui/label'
import Input from '@hixme-ui/input'
import FormGroup from '@hixme-ui/form-group'

<form>
  <FormGroup>
    <Label>First name</Label>
    <Input name='firstname' />
  </FormGroup>
</form>

Use Label with FormGroup to get the proper spacing with Input, Select, and other form components.

Package Sidebar

Install

npm i @hixme-ui/label

Weekly Downloads

37

Version

2.1.0

License

MIT

Unpacked Size

4.96 kB

Total Files

6

Last publish

Collaborators

  • sureco-devops
  • sureco-engineering
  • dreamingbinary
  • billyxs