Nezo Logo

Nezo Admin

Component Style Guide

A preview of all reusable UI components built for the Nezo Admin panel.

Buttons

FormattedDate

A semantic date display component that respects user preferences. Uses <time> element for accessibility. Change format in Settings.

Current Format: short

Today:
ISO String:
Timestamp:
Relative:

Format Override

Short:
Long:
Compact:
Numeric:
ISO:

Badges

Default Success Processing Warning Error Indigo Purple Pink

Detail Page Components

Shared components for building consistent entity detail pages (bookings, customers, vendors, stays, inquiries).

TabNav — Unified Tab Navigation

Active tab: overview

Contact Information

Full Name
John Doe
Email
john@example.com
Phone
+91 98765 43210
Account ID
USR-2024-001
Missing Value

Quick Stats

₹45,000
Total Spent
12
Bookings

Form Controls

This field is required

Counter Input

A flexible numeric counter for quantities like adults, children, rooms, extra beds, etc.

Basic Usage

Sizes & States

At least 1 required

Children Input

Capture number of children and their ages with an intuitive 3-state flow: Empty → Editing → Review.

Empty State

Click "Add Child" to start

Children

Interactive Demo

Add children, set ages, then click "Done"

Children
5 yrs8 yrs

2 children

Current State

Count: 2

Ages: [5, 8]

💡 Flow: Empty → Add Child → Edit ages → Done → Review → Edit again

States

Disabled
4 yrs10 yrs

2 children

With Error

At least 1 child required

Room Occupancy

A flexible multi-room selector with adults/children per room. Features 3-state flow: Empty → Editing → Review.

Empty State

Click "Add Rooms" to start

Rooms & Guests

Interactive Demo

Add rooms, set guests, then click "Done"

Rooms & Guests
1 2A, 1C (5)

1 Room • 2 Adults • 1 Child

Current State

Rooms: 1

Room 1: 2A, 1C (ages: 5)

💡 Flow: Empty → Add Rooms → Configure → Done → Review → Edit

Disabled State

Rooms & Guests
1 2A, 1C (8)

1 Room • 2 Adults • 1 Child

With Error

Rooms & Guests *

At least 1 room is required

Guest Summary

A read-only display component for showing room configurations. Used in booking detail pages and other summary views.

Vertical Layout (Default)

4 Adults • 1 Child • 2 Rooms
1 2A , 1C (5)
2 2A
Extra Bed: Yes

Horizontal Layout

4 Adults 1 Child (5 yrs) 2 Rooms

Single Room

2 Adults • 1 Child • 1 Room
1 2A , 1C (5)

Empty State

No room configuration

Vehicle Selector

A flexible multi-vehicle selector with recommendations based on guest count. Features 3-state flow: Empty → Editing → Review.

Empty State

Click "Add Vehicles" to start

Vehicles

Interactive Demo

Shows recommendation for 8 guests

Vehicles
1 Innova Crysta × 2

2 Vehicles • 14 Seats

Current State

Vehicles: 1

Entry 1: Innova Crysta × 2 (14 seats)

💡 Flow: Empty → Add Vehicles → Configure → Done → Review → Edit

Vehicle Summary

A read-only display component for showing vehicle configurations. Used in booking detail pages and other summary views.

Vertical Layout (Default)

1 Innova Crysta
× 2 (14 seats)
2 Tempo Traveller
× 1 (12 seats)
Total
3 vehicles 26 seats

Horizontal Layout

Innova Crysta × 2
Tempo Traveller × 1
(26 seats total)

Single Vehicle

1 Innova Crysta
× 1 (7 seats)
Total
1 vehicle 7 seats

Empty State

No vehicles configured

Custom Form Components

CustomSelect

RadioGroup & Checkbox

Select Option

Specialized Selects

Country Select

Currency Select

Language Select

Phone Input

Phone Number with Country Code

Usage Notes

  • • Click the flag/dial code to change country
  • • Search by country name or dial code
  • • Full number shown below the input
  • • Binds separately: value (number) and countryCode

Filter Bar Pattern

A flexible filter row combining SearchInput and CustomSelect dropdowns. Used on list pages like Inquiries, Bookings, etc.

Existing InquiryFilterBar Component

This is the existing filter bar component from the inquiries route for comparison.

Date Pickers

Single Date Picker

Pick a date
2026 dates only
15 Jan
Select date

Please select a valid date

Date Range Picker — Stays (nights)

Select check-in & check-out
10 – 15 Jan 2026  •  5 nights

Date Range Picker — Vehicles (days)

Select rental dates

Date Range Picker — Tours (custom label)

Select tour dates

Date Time Picker

Segmented Date + Time Picker

States

Please select date and time

Time Picker

Time Only Picker

Select time
Select time

States

2:30 PM
9:00 AM
Select time

Please select a time

Data Display

NameEmailRoleStatusActions
John Doejohn@example.comAdminActive
Jane Smithjane@example.comManagerPending
Bob Wilsonbob@example.comSalesInactive

Feedback & Overlays

sm
md
lg

No Records Found

You haven't added any data to this section yet.