N
forms form-field

Form Field

Label + input + error wrapper.

$ ndui add form-field
Component docs

Label + control + hint/error

noundry.com/

Lowercase letters, digits, and hyphens.

Enter a valid email address.

Source
<FormField asp-for="Slug" Required="true"
           Prefix="noundry.com/"
           Hint="Lowercase letters, digits, and hyphens." />

<FormField asp-for="Email" />
@* Error is auto-bound from ModelState — no extra wiring. *@