Ecme logoEcme logo
Dashboard
    Ecommerce
    Project
    Marketing
    Analytic
Network
    BGP
      Peer
      RTBH
Netflow
    Dashboard
    Flow Analysis
      Top Talkers
      Flow Explorer
      IP Analyzer
    Threats
      Active Attacks
      Mitigation
    System
      Diagnostics
DPI
    Overview
    Traffic Logs
    Analysis
      IP Analysis
      Domain Check
      Unmapped ASNs
      Uncategorized Domains
    Threats
      Blacklists Data
      Blocklist Sources
      Threat Feeds
    Configuration
      Senders
      Ignored Domains
      Webhooks & Alerts
      System Maintenance
    Datasets
      IP Dataset
      Domain Dataset
Concepts
    AI
      Chat
      Image
    Projects
      Scrum Board
      List
      Details
      Tasks
      Issue
    Customer
      List
      Edit
      Create
      Details
    Products
      List
      Edit
      Create
    Orders
      List
      Edit
      Create
      Details
    Account
      Settings
      Activity log
      Roles & Permissions
      Pricing
    Help Center
      Support Hub
      Article
      Edit Article
      Manage Article
    Calendar
    File Manager
    Mail
    Chat
UI Components
    Common
      Button
      Grid
      Typography
      Icons
    Feedback
      Alert
      Dialog
      Drawer
      Progress
      Skeleton
      Spinner
      Toast
    Data Display
      Avatar
      Badge
      Calendar
      Cards
      Carousel
      Table
      Tag
      Timeline
      Tooltip
    Forms
      Checkbox
      Date Picker
      Form Control
      Input
      Input Group
      Radio
      Segment
      Select
      Slider
      Switcher
      Time Input
      Upload
    Navigation
      Dropdown
      Menu
      Pagination
      Steps
      Tabs
    Graph
      Charts
      Maps
Authentication
    Sign In
      Simple
      Side
      Split
    Sign Up
      Simple
      Side
      Split
    Forgot Password
      Simple
      Side
      Split
    Reset Password
      Simple
      Side
      Split
    Otp Verification
      Simple
      Side
      Split
Others
    Access Denied
    Landing
Guide
    Documentation
    Shared Component
    Utilities
    Changelog
Copyright © 2026 Ecme All rights reserved.
Term & Conditions | Privacy & Policy

Input

Input component specifies an field where the user can enter data.

Basic

The most basic usage of Input.

Sizes

There's three sizes of option for Input field.

Disabled

Disabled Input.

Affix

Input can have suffix or prefix content inside.
$
.00

Password Visible

Example of controlling the Input type via prefix icon.

Textarea

Turn Input field to textarea by setting textarea prop to true.

Invalid

Display Input as invalid status when invalid prop is set to true.

Controlled Input

Controlled Input example.

API

Input
PropDescriptionTypeDefault
disabledWhether the Input is disabledboolean-
invalidWhether the Input is invalid statusboolean-
onBlurCallback when Input remove focus(e: MouseEvent) => void-
onChangeCallback when Input value changed(e: MouseEvent) => void-
onFocusCallback when Input is focused(e: MouseEvent) => void-
prefixRender a prefix content inside Inputstring | ReactNode-
sizeInput size'lg' | 'md' | 'sm''md'
suffixRender a suffix content inside Inputstring | ReactNode-
textAreaWhether to turn Input into textarea fieldboolean-
typeInput type, refer to MDN for available typesstring'text'
unstyleWhether to remove input default stylebooleanfalse
TABLE OF CONTENT
  • Basic
  • Sizes
  • Disabled
  • Affix
  • Password Visible
  • Textarea
  • Invalid
  • Controlled Input