🗓️ AustroByte Date Picker

A comprehensive React date picker component with advanced features

✨ Key Features

🗓️

Multiple Date Pickers

Single date, date range, and date-time pickers

🎨

Highly Customizable

Extensive theming and styling options

Accessibility First

Full ARIA support and keyboard navigation

📱

Mobile Responsive

Works seamlessly on all devices

🚀

Performance Optimized

Built with React hooks and memoization

🕐

Time Selection

12-hour and 24-hour format support

📦 Installation

Install the package:

npm install austro-byte-datepicker

Install peer dependencies:

npm install react date-fns

Import styles:

import 'austro-byte-datepicker/dist/styles.css';
import 'austro-byte-datepicker/dist/theme/default.css';

🎯 Interactive Component Examples

📅 Single Date Picker

Simple calendar component for selecting a single date with customizable styling and date restrictions.

Loading Calendar component...

📆 Date Range Picker

Advanced date range picker with drag selection, multiple months view, and custom input support.

Loading DateRangePicker component...

🕐 Date Time Picker

Combined date and time picker with 12/24-hour format support and optional time selection.

Loading DateTimePicker component...

🎨 Custom Input

Use your own custom input elements with full styling control and accessibility support.

Loading Custom Input component...

💻 Quick Start Code

Basic Usage Example:

import React, { useState } from 'react';
import { Calendar, DateRangePicker, DateTimePicker } from 'austro-byte-datepicker';

function App() {
  const [selectedDate, setSelectedDate] = useState(new Date());
  const [dateRange, setDateRange] = useState({
    startDate: new Date(),
    endDate: new Date(),
  });

  return (
    <div>
      <Calendar
        date={selectedDate}
        onChange={setSelectedDate}
      />
      
      <DateRangePicker
        ranges={[dateRange]}
        onChange={setDateRange}
      />
    </div>
  );
}

🎨 Customization Options

🎨 Theming

Customize colors, borders, and styling to match your design system.

📅 Date Restrictions

Set minimum/maximum dates, disable specific dates or days of the week.

🌍 Internationalization

Support for multiple languages and date formats via date-fns locales.

♿ Accessibility

Full ARIA support, keyboard navigation, and screen reader compatibility.