Checkbox List Item

Display any content alongside a checkbox. The entire content is wrapped inside a label tag and therefore linked to toggle the checkbox.

'value' => 'value-' . uniqid(),
'id' => 'uid' . uniqid(),
<x-checkboxListItem id="plan-premium" value="plan-premium">
    <div class="flex gap-4">
        <x-svgIcon name="tabler-crown" />
        <p>Premium</p>
        <p class="text-text-subtle">Alle Leistungen zum besten Preis</p>
    </div>
</x-checkboxListItem>