Autodesk / Autodesk/hig

Themable Label

Open
#1,078 2 comments 0 reactions 1 assignee Claimed by @arirusso View on GitHub
theming
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

As a developer
I can place a label independently from a field
so I can layout my app as needed

---

### Dev notes

This component should only need a presenter.

Model the testing strategy after `Input`s presenters (snapshots + gemini for each theme).

---
### Examples

_Typical use_
```jsx
Full name

```

_When disabled_
```jsx
Full name

```

### PropTypes
```js
Label.propTypes = {
/** Content identifying a related field */
children: PropTypes.node,
/** Reduces visual prominence of label */
disabled: PropTypes.bool,
/** The id of a labelable form-related element in the same document */
htmlFor: PropTypes.string
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.