๐Ÿ“… v0.2.0 โ€” Nepali date picker

Bikram Sambat dates
for React apps

A lightweight, accessible React component for selecting true Bikram Sambat (BS) dates. Pluggable conversion engine, dual-language support, and full keyboard navigation.

$ npm install bos-nepali-date
1
Runtime dep
2
Locales
100
BS years
โ™ฟ
Accessible

Try it live

Pick a Nepali date, switch languages, and test disable rules in real time.

Loading demo...

โš ๏ธ Demo could not load. Make sure JavaScript is enabled.

Everything you need

A complete BS date picker experience with zero configuration required

๐Ÿ“…

True BS dates

Real Bikram Sambat arithmetic, not Gregorian approximations. Uses an authoritative day-by-day conversion table.

๐Ÿ”Œ

Pluggable adapter

Swap in custom conversion tables via the BsAdapter interface. Built-in MemoryBsAdapter for full control.

๐ŸŒ

Dual language

Toggle between English and Nepali (เคจเฅ‡เคชเคพเคฒเฅ€) โ€” labels, month names, weekday abbreviations, and digit display.

โ›”

Disable rules

Disable specific dates, ranges, today, or before/after boundaries. Combine minDate/maxDate with disable options.

โŒจ๏ธ

Keyboard accessible

Escape to close, Tab to navigate, ARIA attributes, input masking, and automatic Nepali digit normalization.

๐ŸŽจ

Themable

Override every visual aspect via CSS variables. Font, sizing, colors โ€” match your application's design system.

Getting started

Install, import, and use in minutes

1

Install

Add the package to your React project:

$ npm install bos-nepali-date
2

Import the component

Import NepaliDatePicker and the defaultAdapter:

import { useState } from "react"
import { NepaliDatePicker, defaultAdapter } from "bos-nepali-date"
3

Render & control

Wire up value and onChange, pass the adapter:

<NepaliDatePicker
  value={value}
  onChange={setValue}
  adapter={defaultAdapter}
/>
Read full documentation โ†’