
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@bdt-component-library/input-label
Advanced tools
This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.
Handles display of input labels according to style guide conventions.
| prop | type | required | default | explanation |
|---|---|---|---|---|
| className | string | no | "" | Adds an optional classname to the component |
| label | string | yes | n/a | The text for the input label |
| hideLabel | boolean | no | n/a | Sets whether the label is intended for screen readers only |
| htmlFor | string | yes | n/a | Sets the label for attr |
| required | boolean | no | false | Determines whether or not the label is for a required input |
| disabled | boolean | no | false | Determines label disabled state |
| clickable | boolean | no | false | Determines if the label should have cursor pointer effects |
| noBottomMargin | boolean | no | false | Determines whether or not the label has a bottom margin |
| nativeRequired | boolean | no | false | Determines whether or not the label is for a required input |
| onClick | function(e: event) | no | () => {} | Event handler for onclick event on the label |
FAQs
Input Label component
We found that @bdt-component-library/input-label demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.