npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dreamstack-us/kaal

v0.0.4

Published

High-performance React Native DatePicker with Unistyles v3

Readme

@dreamstack-us/kaal

npm version npm downloads bundle size license

High-performance React Native DatePicker & TimePicker for the New Architecture. Features native iOS/Android pickers via Expo, cross-platform calendar grid, Material Design 3 clock face, and full web support.

Features

  • Sub-8KB Bundle - Lightweight and optimized, no bloated dependencies
  • Native Date API - Uses JavaScript Date and Intl APIs, no Temporal polyfill required
  • M3 Clock Face - Material Design 3 clock for intuitive time selection
  • Cross-Platform - Works on iOS, Android, and Web with consistent APIs
  • Design System Ready - Full theming via themeOverrides prop
  • TypeScript First - Complete type definitions for props and theme overrides
  • Range Selection - Select date ranges with visual highlighting

Requirements

  • React Native 0.78+ (New Architecture only)
  • Expo SDK 53+ (for native pickers)

Installation

npm install @dreamstack-us/kaal
# or
yarn add @dreamstack-us/kaal
# or
bun add @dreamstack-us/kaal

Quick Start

DatePicker

import { useState } from 'react';
import { DatePicker } from '@dreamstack-us/kaal';

export default function App() {
  const [date, setDate] = useState(new Date());

  return (
    <DatePicker
      value={date}
      onChange={setDate}
      variant="calendar"
      themeOverrides={{
        primaryColor: '#3b82f6',
        backgroundColor: '#ffffff',
      }}
    />
  );
}

Date Range Selection

import { useState } from 'react';
import { DatePicker } from '@dreamstack-us/kaal';

export default function App() {
  const [range, setRange] = useState({
    startDate: new Date(),
    endDate: null,
  });

  return (
    <DatePicker
      selectionMode="range"
      startDate={range.startDate}
      endDate={range.endDate}
      onRangeChange={setRange}
      themeOverrides={{
        primaryColor: '#3b82f6',
        cellInRangeColor: 'rgba(59, 130, 246, 0.15)',
      }}
    />
  );
}

TimePicker

import { useState } from 'react';
import { TimePicker } from '@dreamstack-us/kaal';

export default function App() {
  const [time, setTime] = useState({ hours: 9, minutes: 30 });

  return (
    <TimePicker
      value={time}
      onChange={setTime}
      theme="android" // Material clock face
      is24Hour={false}
    />
  );
}

Props

DatePicker Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | value | Date | required | Selected date (single mode) | | onChange | (date: Date) => void | required | Callback when date changes (single mode) | | selectionMode | 'single' \| 'range' | 'single' | Selection mode | | startDate | Date \| null | - | Range start date (range mode) | | endDate | Date \| null | - | Range end date (range mode) | | onRangeChange | (range: DateRange) => void | - | Callback when range changes (range mode) | | variant | 'calendar' \| 'wheel' \| 'compact' | 'calendar' | Picker variant | | theme | 'native' \| 'ios' \| 'android' \| 'custom' | 'native' | Visual theme | | minDate | Date | - | Minimum selectable date | | maxDate | Date | - | Maximum selectable date | | disabledDates | Date[] | [] | Array of disabled dates | | weekStartsOn | 0 \| 1 | 0 | First day of week (0=Sun, 1=Mon) | | themeOverrides | DatePickerThemeOverrides | - | Custom theme overrides |

TimePicker Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | value | { hours: number; minutes: number } | required | Selected time | | onChange | (time: TimeValue) => void | required | Callback when time changes | | theme | 'native' \| 'ios' \| 'android' | 'native' | Visual theme | | is24Hour | boolean | false | Use 24-hour format | | minuteInterval | 1 \| 5 \| 10 \| 15 \| 30 | 1 | Minute step interval | | minTime | TimeValue | - | Minimum selectable time | | maxTime | TimeValue | - | Maximum selectable time | | themeOverrides | TimePickerThemeOverrides | - | Custom theme overrides |

Theme Overrides

Style components without a theme provider:

<DatePicker
  themeOverrides={{
    primaryColor: '#3b82f6',
    cellSelectedColor: '#3b82f6',
    cellTodayColor: 'rgba(59, 130, 246, 0.1)',
    cellInRangeColor: 'rgba(59, 130, 246, 0.15)',
    textColor: '#1e293b',
    textSelectedColor: '#ffffff',
    backgroundColor: '#ffffff',
    borderRadius: 16,
  }}
/>

Documentation

Full documentation with live examples: kaal.dreamstack.us

License

MIT