NexoreUIv1.4
InstallationComponents41IconsNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
41 comps
Create Project
Studio
Installation
Components Overview
40+
Icons
300+
Categories6 groups
Button
Input
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Thinking Indicator
AI
Tool Call Card
AI
Agent Status Pill
AI
Command
Theme: indigo
Studio
DocsInput

Input

Text input fields with labels, icons, and validation states.

NextSwitch
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub

Inputs

Text input fields with clean borders, labels, validation states, and helper descriptions.

When to use which variant

defaultStandard dashboard forms, database filtering, account creation
floating labelSleek onboarding forms, login panels, space-constrained headers
underlineUltra-minimal editorial interfaces, clean mobile web designs
icon left/rightSearch bars, password visibility toggles, credit cards
error stateForm validation failures to alert the user of mistakes
success stateConfirming custom identifiers (like usernames) are available

Interactive Playground

Live CanvasInteractive

Choose a unique username.

Controls(9)
variant
select

Visual style of the input field

type
select

Input type

label
text

Optional label text above the field

description
text

Optional help description text

error
text

Optional validation error text

placeholder
text

Placeholder text

required
boolean
Toggle state:

Whether field is required

animate
boolean
Toggle state:

Whether to enable animations

disabled
boolean
Toggle state:

Whether the input is disabled

Generated JSX
Source
import { Input } from "nexoreui"

<Input />

Showcase & Examples

Default Input

component.tsx

Input with Label & Helper Text

We will never share your email.

component.tsx

Floating Label Input

component.tsx

Icon Left Input

component.tsx

Icon Right Input

component.tsx
Page 1 of 2

API Reference (Props)

PropTypeDefaultDescription
variant"default" | "glass" | "gradient" | "underline""default"Visual style of the input border and background.
typestring"text"Standard HTML input type (e.g. text, password, email, number).
placeholderstring—Placeholder text shown when input is empty.
animatebooleantrueEnables interactive focus and entry slide/fade animations.
disabledbooleanfalsePrevents user interaction and visually mutes the input.
labelstring—Label text rendered above the input.
descriptionstring—Supporting helper description text rendered below the input.
errorstring—Validation error message. Displays in red and updates aria attributes.
requiredbooleanfalseAdds a required star indicator and applies native standard validation constraints.

♿ Accessibility (a11y)

  • ARIA Relationships: If `label` is provided, the input automatically connects to the label. If `description` or `error` is provided, the input sets aria-describedby to link text elements for screen readers.
  • Validation State: When an error is active, the input receives aria-invalid="true" and the error label uses role="alert".
  • Keyboard Support: Fully focusable using standard Tab controls, displaying high-contrast outline focus rings.