NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsInput

Input

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

PreviousButton
NextSwitch
On This Page
Quick ActionsProject StudioNewNexore 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
1

Input with Label & Helper Text

We will never share your email.

component.tsx
1

Floating Label Input

component.tsx
1

Icon Left Input

component.tsx
1

Icon Right Input

component.tsx
1
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.