Files
lunch/components/ui/input.tsx
T
kai 98d6e7df46
release / which version (push) Successful in 2s
release / olares chart · sanity (push) Successful in 4s
release / app (push) Successful in 55s
release / tag and release (push) Successful in 10s
New look: pastel coral and lavender (26.11.4) (#5)
2026-11-06 20:24:03 +00:00

18 lines
661 B
TypeScript

import * as React from "react";
import { cn } from "@/lib/utils";
// shadcn/ui Input, 44 px hoch, Schrift 16 px (iOS zoomt sonst beim Tippen).
export const Input = React.forwardRef<HTMLInputElement, React.InputHTMLAttributes<HTMLInputElement>>(
({ className, ...props }, ref) => (
<input
ref={ref}
className={cn(
"flex min-h-11 w-full rounded-xl border border-border bg-background px-4 py-2 text-base text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50",
className,
)}
{...props}
/>
),
);
Input.displayName = "Input";