You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2025. It is now read-only.
In short, the Input label should accept either the usual label prop or also a slot named label, so we can use markup inside the label.
<Inputtype="switch"bind:checked={doomed}>
<svelte:fragmentslot="label">
I agree with the <ahref="/boring-terms">Terms & Conditions</a> without reading them
</svelte:fragment>
</Input>
Also, to avoid spamming the repo with issues: <Label check/> yields class="form-label form-label-check", where the first class is unnecessary and creates extra bottom-margin.