Files
apps-registry/workloads/ecommerce/components/ui/input.tsx
2026-07-19 19:37:41 -05:00

13 lines
489 B
TypeScript

import * as React from "react";
import { cn } from "@/lib/utils";
export const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(({ className, type, ...props }, ref) => (
<input
ref={ref}
type={type}
className={cn("h-12 w-full rounded-full border border-slate-200 bg-white px-5 text-sm text-slate-950 outline-none transition focus:border-cyan-500 focus:ring-4 focus:ring-cyan-300/30", className)}
{...props}
/>
));
Input.displayName = "Input";