@crave/farmblocks-label

Label to be used along with form inputs

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@crave/farmblocks-label
20372.0.10a year ago4 years agoMinified + gzip package size for @crave/farmblocks-label in KB

Readme

Farmblocks Label
Label to be used along with form inputs

⚠️ Legacy

This package was completely rewritten in v2 If you're looking for documentation of the old version, check:

Installation

npm install @crave/farmblocks-label

Usage

It's a customised label html tag that changes its color accordingly with its predefined props.
import Label from "@crave/farmblocks-label";

export default () => (
  <div>
    <Label for="default">Default Label</Label>
    <input id="default" />
  </div>
);

For more examples and details on the available props, read the docs

License

MIT