@material-ui/lab/ToggleButton code example Example: install dependencies @material-ui/lab/Rating yarn add @material-ui/lab