spences10/devhub-crm · Archived

form-patterns

DaisyUI v5 form patterns. Use for inputs, selects, textareas, validation, and form structure with fieldset/legend.

First seen Mar 15, 2026

Installation

$ npx skills add spences10/devhub-crm --skill form-patterns

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from spences10/devhub-crm.

npx skills add spences10/devhub-crm

Browse all from spences10/devhub-crm

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 6
Default branch main
Open issues 1
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,307 B
  • docs README.md 443 B
  • docs SUMMARY.md 153 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Form Patterns

Quick Start

<form {...my_form} class="space-y-4">
	<fieldset class="fieldset">
		<legend class="fieldset-legend">Name</legend>
		<label class="validator input w-full">
			<input
				type="text"
				name="name"
				placeholder="Your name"
				class="grow"
				required
			/>
		</label>
	</fieldset>

	{#if my_form.error}
		<div class="alert alert-error">{my_form.error}</div>
	{/if}

	<button class="btn btn-block btn-primary" type="submit"
		>Submit</button
	>
</form>

Core Principles

  • v5 structure: Use fieldset/fieldset-legend (NOT old

form-control/label-text)

  • Input wrapper: <label class="input w-full"> contains

<input class="grow">

  • Validation: Add validator class to label for automatic

validation UI

  • Selects/textareas: Apply classes directly (e.g.,

select w-full) - no wrapper

  • Error handling: Remote functions provide .error property

automatically

  • Spacing: Use space-y-4 on forms for consistent spacing

Reference Files

  • [forms-guide.md](references/forms-guide.md) - Complete DaisyUI v5

form patterns and examples