Components
FormLabelWithHelp
src/lib/components/forms/FormLabelWithHelp.svelte
Purpose
Renders a help-circle icon next to a form label that, on hover/focus, shows a tooltip with explanatory text. Use it inline within a label row to give users context about a field without cluttering the form layout.
Origin
Custom — Primebrick-written. Wraps the shadcn-svelte™ Tooltip primitive and
the Lucide™ HelpCircle icon.
Usage
Default
Code
Inside a form field
Code
Props
Full prop table: see API reference — formlabelwithhelp.
Props: text: string — the tooltip content shown on hover/focus.
Next steps
Last modified on