<div class="n7-input n7-input-field n7-input-radio n7-input--lg">
<div class="flex gap-2 items-center">
<input id="radioId" name="fieldsetName" class=" " type="radio">
<label class="input-radio__label" for="radioId">
label radiobutton
</label>
</div>
</div>
{% extends '@input-radio' %}
{% block size %} n7-input--lg{% endblock %}
{
"label": "label radiobutton",
"id": "radioId",
"inFieldset": false,
"name": "fieldsetName",
"shortLabel": null,
"padding": null,
"border": null,
"radius": null,
"classes": null,
"checked": false,
"placeholder": null,
"iconPlaceholder": null,
"fieldRequired": false,
"ariaDescribedBy": null,
"errorId": null,
"hasErrorControl": false,
"hasError": false,
"ariaInvalid": false,
"errorDescription": null,
"inputDescription": null
}
/**
* INPUT
*
*
*/
@layer components {
.n7-input-radio input[type="radio"] {
@apply w-5 h-5 n7-border-input rounded-full;
}
.n7-input-radio__label {
@apply text-base font-medium;
}
/* SIZES */
.n7-input--sm input[type="radio"] {
@apply w-4 h-4;
}
:where(.n7-input--sm) .n7-input-radio__label {
@apply text-sm;
}
.n7-input--lg input[type="radio"] {
@apply w-6 h-6;
}
.has-error input[type="radio"]{
@apply n7-border-error-dark border-2;
}
}
Input radio component configurations.