NOCTA UI

Input

A versatile input component with multiple variants, sizes, icons, and dark mode support

Installation

Install the Input component using the nocta-ui CLI:

npx @nocta-ui/cli add input

Then import the component:

import { Input } from '@/components/ui/input';

Examples

Default Input

Input with Label

Input with Helper Text

Choose a unique username between 3-20 characters

Variants

This field is required

Valid input

Sizes

Left Icon

Right Icon

Disabled State

Read Only State

This field is read-only

Api Reference

Prop

Type