Formulare
Field / Label
shadcn/ui · field + label
Import
import { Field, FieldLabel, FieldDescription, FieldError } from "@/components/ui/field"Verwendung
Input
shadcn/ui · input
Default
Gefüllt
Fehler
Readonly / Disabled
Import
import { Input } from "@/components/ui/input"Verwendung
Input Group
shadcn/ui · input-group
0/500
Import
import { InputGroup, InputGroupInput, InputGroupAddon } from "@/components/ui/input-group"Verwendung
Einheiten-Eingaben (€ / % / m²)
Komposition
Import
import { UnitInput } from "@/components/compositions/unit-input"Basis: input-group
Verwendung
Textarea
shadcn/ui · textarea
Import
import { Textarea } from "@/components/ui/textarea"Verwendung
Formularrezept: Einheit anlegen
Komposition
Import
import { einheitSchema } from "@/lib/validation/einheit"Basis: field, react-hook-form Controller, zod, input-group, select, checkbox, switch
Verwendung