1
2
3
4
5
6
7
8
9
10
system_arguments = { name: name, value: value, label: label, caption: caption, visually_hide_label: visually_hide_label, disabled: disabled}render(Primer::Alpha::CheckBox.new(**system_arguments))
<div class="FormControl-checkbox-wrap"> <input name="my-check-box" type="hidden" value="0" autocomplete="off" /><input aria-describedby="caption-3edff66a-08ab-4239-babc-d1915ee7b6cf" class="FormControl-checkbox" type="checkbox" value="picard" name="my-check-box" id="my-check-box" /> <span class="FormControl-checkbox-labelWrap"> <label class="FormControl-label" for="my-check-box"> Jean-Luc Picard </label> <span class="FormControl-caption" id="caption-3edff66a-08ab-4239-babc-d1915ee7b6cf">Make it so</span> </span></div>
system_arguments = { name: name, value: value, label: label, caption: caption, visually_hide_label: visually_hide_label, disabled: disabled}render(Primer::Alpha::CheckBox.new(**system_arguments))
No notes provided.
Param | Description | Input |
---|---|---|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
|
— |
|
No assets to display.
<lookbook-embed app="https://primer-lookbook.github.com/view-components/lookbook/" preview="Primer::Alpha::CheckBoxPreview" scenario="playground"></lookbook-embed>