canonical / react-components

A set of components based on Vanilla Framework
https://canonical.github.io/react-components
101 stars 57 forks source link

Duplicate components: <CheckboxInput /> vs <Input type="checkbox" /> #1016

Open aaryanporwal opened 9 months ago

aaryanporwal commented 9 months ago

Both components look similar, but have different spacing/padding. It can be confusing for developers which one to use where.

bartaz commented 9 months ago

CheckboxInput seems to be a more low level component. Maybe it's still fine to have both? But lets check if we can improve documentation around that.

bartaz commented 1 month ago

Triage: likely not needs to be addressed now. For consideration in new architecture where we will likely revisit form elements.