appica-dev

Input

Forms

About

A styled single-line text field with size and variant options, optional leading/trailing icon slots, and a built-in clear button for clearing its value.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Input to your project and fits it to your theme.

Code

How Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Input } from "@/components/ui/input";
import { Search } from "@appica/icons-react";

export default function InputClearable() {
  return (
    <Input
      className="max-w-70"
      clearable
      startSlot={<Search />}
      defaultValue="Wireless headphones"
      aria-label="Search products"
    />
  );
}

Dependencies

More by appica-dev

View all
  • Border Beam

    Border Beam

    63
  • Text Animate

    Text Animate

    21
  • Carousel

    Carousel

    19
  • Avatar

    Avatar

    15
  • Sparkline

    Sparkline

    8
  • Table of Contents

    Table of Contents

    7
  • Background Pattern

    Background Pattern

    7
  • Color Area

    Color Area

    6

More in Forms

View all
  • Premium Auth

    Premium Auth

    551
  • Contact Card

    Contact Card

    1.1K
  • Login 2

    Login 2

    10
  • Form

    Form

    17
  • Form

    Form

    20
  • Book A Demo 3

    Book A Demo 3

    96
  • Login 1

    Login 1

    59
  • SignInPage

    SignInPage

    721