mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
30 lines
877 B
TypeScript
30 lines
877 B
TypeScript
import { Input } from 'ui'
|
|
import {
|
|
Field,
|
|
FieldDescription,
|
|
FieldGroup,
|
|
FieldLabel,
|
|
FieldSet,
|
|
} from 'ui/src/components/shadcn/ui/field'
|
|
|
|
export default function FieldInput() {
|
|
return (
|
|
<div className="w-full max-w-md">
|
|
<FieldSet>
|
|
<FieldGroup>
|
|
<Field>
|
|
<FieldLabel htmlFor="username">Username</FieldLabel>
|
|
<Input id="username" type="text" placeholder="Max Leiter" />
|
|
<FieldDescription>Choose a unique username for your account.</FieldDescription>
|
|
</Field>
|
|
<Field>
|
|
<FieldLabel htmlFor="password">Password</FieldLabel>
|
|
<FieldDescription>Must be at least 8 characters long.</FieldDescription>
|
|
<Input id="password" type="password" placeholder="••••••••" />
|
|
</Field>
|
|
</FieldGroup>
|
|
</FieldSet>
|
|
</div>
|
|
)
|
|
}
|