Pick a theme
Use the name shown on invoices.
<.input id="input-single-text" label="Full Name" name="name" type="text" value="" description="Use the name shown on invoices." placeholder="John Doe" />
<.input id="input-single-with-prefix-suffix" label="Budget" name="budget" type="text" value="1250" > <:prefix>$</:prefix> <:suffix>USD</:suffix> </.input>
<.input id="input-single-with-icons" label="Search" name="query" type="search" value="northstar" leading_icon="search" trailing_icon="circle-question-mark" />
<.input id="input-single-email" label="Email" name="email" type="email" value="" />
<.input id="input-single-password" label="Password" name="pass" type="password" value="" />
Max 160 characters.
<.input id="input-single-textarea" label="Bio" name="bio" type="textarea" value="" description="Max 160 characters." />
We'll send a confirmation link.
<.input id="input-single-with-error" label="Email" name="email" type="text" value="bad" description="We'll send a confirmation link." errors={["is invalid"]} />
Required before creating an account.
<.input id="input-single-checkbox" label="I agree to the terms" name="agree" type="checkbox" value="false" description="Required before creating an account." />
You need to accept the current terms.
<.input id="input-single-checkbox-error" label="Accept terms" name="terms" type="checkbox" value="false" description="You need to accept the current terms." errors={["must be accepted"]} />
<.input id="input-single-checkbox-checked" label="Already checked" name="agree" type="checkbox" value="true" />