Farmblocks LabelLabel to be used along with form inputs
⚠️ LegacyThis package was completely rewritten in v2 If you're looking for documentation of the old version, check:
npm install @crave/farmblocks-label
UsageIt's a customised
labelhtml 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