
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
labeled-checkbox-material-ui
Advanced tools
A material-ui component which combines a checkbox and a label in a single component
A material-ui component which combines a checkbox and a label in a single component
You can access the storybook for this component here.
The component accepts the props defined bellow in the table.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| checked | boolean | no | false | If true, the checkbox is selected |
| classNameCheckbox | string | no | undefined | The className applied to the checkbox |
| classNameLabel | string | no | undefined | The className applied to the label |
| color | string | no | primary | The color of the checkbox |
| disabled | boolean | no | false | The component is disabled |
| label | string | yes | - | The label of the checkbox |
| onChange | (checked: boolean) => void | no | undefined | The callback function called when the checkbox value is changed |
| styleCheckbox | CSSProperties | no | undefined | The style applied to the checkbox |
| styleLabel | CSSProperties | no | undefined | The style applied to the label |
| value | string | no | undefined | The value of the checkbox |
| LabeledCheckboxMaterialUi uses | Material-ui | React |
|---|---|---|
| 1.0.x | 3.6.0 | 16.6.3 |
| 1.1.x | 3.9.1 | 16.8.1 |
| 1.2.x | 3.9.3 | 16.8.6 |
| 2.0.x | 4.0.2 | 16.8.6 |
| 2.1.x | 4.2.0 | 16.8.6 |
| 2.2.x | 4.3.2 | 16.9.0 |
| 2.3.x | 4.9.0 | 16.9.0 |
| 2.4.x | 4.9.7 | 16.9.0 |
| 2.5.x | 4.10.2 | 16.9.0 |
| 2.6.x | 4.11.0 | 16.9.0 |
| 2.7.x | 4.11.3 | 16.9.0 or 17.0.0 |
| 3.0.x | 5.10.17 | 18.0.0 |
| 3.1.x | 5.14.20 | 18.0.0 |
The base component which allows to create read-only or creatable select components for selecting only one or more values:
import * as React from 'react';
import LabeledCheckboxMaterialUi from 'labeled-checkbox-material-ui';
class App extends React.Component {
render() {
return (
<div className="App">
<LabeledCheckboxMaterialUi
label="Use colors"
onChange={this.handleChange}
/>
</div>
);
}
handleChange = (checked: boolean) => {
console.log(checked);
};
}
export default App;
FAQs
A material-ui component which combines a checkbox and a label in a single component
We found that labeled-checkbox-material-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.