Command Palette

Search for a command to run...

Docs
Smart Assist Input

Smart Assist Input

An intelligent input field with history tracking, validation, and quick actions

Loading...

Installation

Props

PropTypeDefaultDescription
labelstring"Smart Assist Input"The label for the input field
placeholderstring"Type something..."Placeholder text
type"text" | "email" | "password" | "search""text"Input type
rememberHistorybooleantrueEnable input history tracking
validate(value: string) => string | nullundefinedCustom validation function

Features

  • Input History: Automatically saves and suggests previously entered values
  • Real-time Validation: Custom validation with error messages
  • Quick Actions: Copy and clear buttons for enhanced UX
  • Local Storage: Persists history across browser sessions
  • Dropdown History: Shows recent inputs in a dropdown when focused
  • Smart Suggestions: Displays up to 5 most recent unique entries