Skip to Content
✨ Just dropped my UI Library — still cooking up some magic! Stay tuned & maybe… hire me  or sponsor me 😉 
DocumentationInput

Input

A simple, accessible input field with support for various types, including text, email, and file uploads. Designed for clean integration with labels via standard HTML id/for attributes.

Install Dependencies

npx
quickcode-ui add Input

Default Usage

Default Input

File Upload

File Input

Props

PropTypeDefaultDescription
typestring-The type of input (e.g., “text”, “email”, “file”)
placeholderstring-Placeholder text for the input
valuestring-The value of the input
onChangefunction-Handler for change events
classNamestring-Additional custom classes
disabledbooleanfalseWhether the input is disabled
idstring-ID for associating with label

Features

  • Accessible: Supports ARIA attributes and keyboard navigation
  • Responsive: Adapts to different screen sizes
  • Dark Mode: Full support via theme tokens
  • File Support: Handles file inputs with custom styling
  • Validation States: Visual cues for invalid inputs
Last updated on