N
primitives input

Input

Text input with label + icon + error slots.

$ ndui add input
Component docs

Basic

Treat like a password. Rotate from Settings → API.
Only lowercase letters, digits, and hyphens.
Source
<Input Label="Email" Type="email" Placeholder="you@noundry.com" />

<Input Label="API key" Required="true" Hint="Treat like a password.">
    <LeadingIcon><Icon Name="key" /></LeadingIcon>
</Input>

<Input Label="Slug" @bind-Value="Model.Slug"
       Error="@Model.SlugError" />