export interface FieldProps { label?: string; placeholder?: string; value?: string; onChange?: (value: string) => void; invalid?: boolean; /** Shown under the field when invalid — the colour never carries the state alone. */ message?: string; className?: string; } export function Field({ label, placeholder, value, onChange, invalid = false, message, className, }: FieldProps) { return ( ); }