UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

27 lines (26 loc) 668 B
import { ComponentProps } from 'react'; export interface InputProps extends ComponentProps<"input"> { } /** * A styled HTML input component that provides consistent styling across the application. * Suitable for text inputs, search fields, and other form inputs. * * @example * ```tsx * // Basic text input * <Input placeholder="Enter your name" /> * ``` * * @example * ```tsx * // Search input * <Input type="search" placeholder="Search..." /> * ``` * * @example * ```tsx * // Disabled input * <Input disabled value="Cannot edit" /> * ``` */ export declare const Input: ({ className, type, ...props }: InputProps) => import("react").JSX.Element;