Input

The Input component is a versatile and customizable text field for capturing user input. It supports various types like text, search, and file inputs.

A simple nirmaan input component

This is the default input field.

This is a search input field.

Installation

npx shadcn@latest add https://nirmaan-ui.vercel.app/r/nirmaan-input.json

Usages

import { Input } from "@/components/ui/nirmaan-ui/input";
<Input placeholder="Enter text here" />
<Input type="search" placeholder="Search..." />

Password Input

The Password Input component is a secure and user-friendly input field for capturing passwords. It includes a toggle to show or hide the password.

A simple nirmaan password input component

This is the default password input field.

Installation

npx shadcn@latest add https://nirmaan-ui.vercel.app/r/nirmaan-password-input.json

Usages

import { PasswordInput } from "@/components/ui/nirmaan-ui/password-input";
<PasswordInput placeholder="Enter your password" />