import * as React from "react"; import { Input as BaseInput } from "@base-ui-components/react/input"; // helpers import { cn } from "../utils"; export interface InputProps extends React.InputHTMLAttributes { mode?: "primary" | "transparent" | "true-transparent"; inputSize?: "xs" | "sm" | "md"; hasError?: boolean; } const Input = React.forwardRef((props, ref) => { const { id, type, name, mode = "primary", inputSize = "sm", hasError = false, className = "", autoComplete = "off", ...rest } = props; return ( ); }); Input.displayName = "form-input-field"; export { Input };