# Checkbox A styled checkbox with an optional text label. Use it in forms when you want the user to opt in or out of something — "Remember me", "I agree to the terms", or selecting items in a list. --- ## Quick example ```csharp new Checkbox( id: "newsletter", label: "Subscribe to newsletter", name: "newsletter") ``` --- ## All the options ```csharp public Checkbox( string id, string label = "", string name = "", string value = "true", bool @checked = false) ``` | Parameter | What it does | |---|---| | `id` | The element id. Also used by the `