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

@d3sm/kalendar

v0.1.2

Published

A native calendar view for React Native — SwiftUI on iOS, Jetpack Compose on Android.

Readme

kalendar

A native calendar for React Native. It draws with SwiftUI on iOS and Jetpack Compose on Android, so paging, the zoom between views, and drag-to-reschedule all run natively and stay smooth.

What it does

  • Renders natively — SwiftUI on iOS, Compose on Android.
  • Month, year, and day views, with a zoom between them.
  • Themeable: accent, text, and background colors, corner radius, selection shape, font.
  • On iOS 26, selection and event chips use Liquid Glass (.glassEffect); below that it's solid fills, and on Android it's translucent Material.
  • Works with your own day screen, or the built-in one.
  • Honors week start, locale, and 12- or 24-hour time.

Screenshots

| Month | Year | Day | | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | | Month view | Year view | Day view |

| Android | iOS | | --------------------------------------------- | ----------------------------------------- | | Sheet with events | Sheet with events | | Drill-down | Drill-down |

Requirements

  • Expo SDK 57+ / React Native 0.81+, with the New Architecture (Fabric) enabled.
  • iOS 16.4+. Liquid Glass needs iOS 26; below that it falls back to solid fills.
  • Android 7.0+ (minSdk 24).

Install

npx expo install @d3sm/kalendar

Usage

A month picker:

import { KalendarView } from '@d3sm/kalendar';

<KalendarView
  style={{ flex: 1 }}
  selectedDate={date}
  markedDates={['2026-07-03', '2026-07-20']}
  onDayPress={(e) => setDate(e.nativeEvent.date)}
  accentColor='#3b82f6'
  eventEditor
  events={events}
  onEventChange={(e) => update(e.nativeEvent)}
  onEventDelete={(e) => remove(e.nativeEvent.id)}
/>;

Opening a day

Set dayView and tapping a day zooms into a native day view — an hour timeline you can drag events around on and pinch to zoom. daySheet shows the same thing in a bottom sheet instead.

Want your own screen? Leave both off and handle onDayPress. It hands you the day's events (all-day and multi-day first, then timed), which is usually everything you need to route somewhere:

<KalendarView
  events={events}
  onDayPress={(e) => {
    const { date, events } = e.nativeEvent; // events on that day
    navigation.navigate('MyDay', { date, events });
  }}
/>

onDayPress fires on every tap, even with dayView on, so you can prefetch or update nearby UI while still using the built-in view.

Navigating

The props — month, level, selectedDate — cover most navigation. For the rest, like jumping back to today after someone has paged away, there's a ref:

import { useRef } from 'react';
import { KalendarView, type KalendarViewHandle } from '@d3sm/kalendar';

const cal = useRef<KalendarViewHandle>(null);

<KalendarView ref={cal} events={events} />;

cal.current?.goToToday();
cal.current?.scrollToDate('2026-07-17');

Its methods resolve once the view has mounted, so call them from an effect or a handler.