NexoreUI
InstallationComponentsNexore MakeGitHub
GitHub
NexoreUIv0.1.2

Getting Started

Installation

Components

ButtonInputCardBadgeAlertAvatarAccordionModal / DialogTooltipTabsProgressSkeletonSliderSwitchRatingCommandTableStepperScroll AreaFile UploadNavigationIconsDock

Pro

ChartsData DisplayDark Mode ToolkitCommerceCookie ConsentSocialPremium EffectsLoaders

Animated

MarqueeNumber TickerAnimated NumberTyping AnimationBlur FadeBox RevealFile Preview CardImage Compare
MIT License
DocsInput

Input

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

Next ComponentCard

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

Input Playground
nexoreui
Live Preview

Choose a unique username.

Props Panel
select

Visual style of the input field

select

Input type

text

Optional label text above the field

text

Optional help description text

text

Optional validation error text

text

Placeholder text

boolean

Whether field is required

boolean

Whether to enable animations

boolean

Whether the input is disabled

Generated Code
Open in GitHub
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.