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

@taqwim/react-styled

v0.1.0-beta.8

Published

Ready-to-use themed React Hijri calendar and date picker

Downloads

304

Readme

@taqwim/react-styled

A Hijri calendar and date picker for React that already looks like one.

Built on @taqwim/react (behaviour) and @taqwim/themes (appearance). If you want to build your own markup, use the headless package directly — everything here is composed from its public parts.

Install

pnpm add @taqwim/react-styled

Use

import { HijriCalendar, HijriDatePicker } from '@taqwim/react-styled'
import { useState } from 'react'

export function Example() {
  const [date, setDate] = useState()

  return (
    <>
      <HijriCalendar value={date} onValueChange={setDate} theme="islamic" locale="ar" dir="rtl" />
      <HijriDatePicker value={date} onValueChange={setDate} />
    </>
  )
}

The stylesheet is imported for you.

Calendar systems

Umm al-Qura is the default. Add @taqwim/core directly and pass an imported strategy to use Islamic Civil or Islamic TBLA:

import { islamicCivil } from '@taqwim/core/calendars/islamic-civil'

;<HijriCalendar calendarSystem={islamicCivil} />

Compare the three systems before storing or exchanging Hijri fields.

Theming

theme sets data-taqwim-theme on the calendar, so switching is an attribute change — no stylesheet swapping, and several themes can coexist on one page.

Neutral default · dark · slate · stone · zinc · minimal · minimalist · material

Brand rose · violet · emerald · amber · indigo · teal · crimson · modern · ocean · sunset · nature · neon · cyberpunk · luxurious

Hijri & regional islamic · ramadan · eid · masjid · madinah · andalus · sahara · mihrab · zellige · qamar · najd

size is orthogonal: compact, default, large.

To restyle rather than re-theme, override the tokens — see @taqwim/themes.

Props

Everything @taqwim/react's HijriCalendarRoot accepts, plus:

| | | | ----------------------------- | ---------------------------------------------------------------------- | | theme | Bundled theme name. Default 'default' | | size | 'compact' \| 'default' \| 'large' | | showNavigation | Previous/next buttons. Default true | | showWeekdays | Weekday label row. Default true | | selectableHeading | Month and year heading buttons that open their pickers. Default true | | navigationIcons | { prev?, next? } components replacing the chevrons | | renderCell, renderWeekday | Render props for cell contents and weekday labels |

HijriDatePicker adds format (default 'iYYYY-iMM-iDD'), inputPlaceholder, label and editable. It accepts typed dates in iYYYY-MM-DD or DD-MM-iYYYY, with / or -; unparseable text reverts rather than clearing the selection.

Parity with Vue

@taqwim/react-styled and @taqwim/vue-styled take the same prop names, emit the same attributes and answer the same keys. That is enforced by a shared test suite rather than by review.

License

MIT