ben-ryder / jigsaw

A design system and component library for use in my personal projects.
https://jigsaw.benryder.dev
GNU General Public License v3.0
0 stars 0 forks source link

Add Label Component #6

Closed ben-ryder closed 1 year ago

ben-ryder commented 2 years ago

What is your component idea? Add a label component, which can be used as a part of all form elements (inputs, textarea, selects etc)

What are your initial ideas component usage (component props, styling variations etc)?

What are your initial ideas for styling?

Additional context

ben-ryder commented 2 years ago

Initial component released in v0.2.1

ben-ryder commented 1 year ago

This is technically implemented as part of inputs and is exported from the library, but there is no storybook story for this component so I'll keep this open until that's sorted.

Input component with label: https://jigsaw.benryder.dev/?path=/story/elements-form-elements-input--default Label in codebase: https://github.com/Ben-Ryder/jigsaw/tree/main/src/patterns/02-partials/label

ben-ryder commented 1 year ago

closing as related to old React library