Check out example codes for "html checkboxfor is not visible". It will help you in understanding the concepts better.

Code Example 1

input[type="checkbox"] {
    display: none;
}

Code Example 2

@Html.EditorFor(model => model.Active, new { htmlAttributes = new { style = "opacity: 1" } })

Learn ReactJs, React Native from akashmittal.com