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

@grimoire-intel/yetzirah-react

v1.0.0

Published

React wrappers for Yetzirah Web Components

Readme

@grimoire-intel/yetzirah-react

React 18+ wrappers for Yetzirah Web Components.

Installation

npm install @grimoire-intel/yetzirah-react

Usage

import { Dialog, Button, Toggle, Slider } from '@grimoire-intel/yetzirah-react'
import { useState } from 'react'

function App() {
  const [open, setOpen] = useState(false)
  const [enabled, setEnabled] = useState(false)
  const [volume, setVolume] = useState(50)

  return (
    <>
      <Button onClick={() => setOpen(true)}>Open Dialog</Button>

      <Dialog open={open} onClose={() => setOpen(false)}>
        <div className="pa4 bg-white br3">
          <h2>Settings</h2>

          <label className="flex items-center mb3">
            <Toggle checked={enabled} onChange={setEnabled} />
            <span className="ml2">Enable notifications</span>
          </label>

          <label className="db mb3">
            <span className="db mb2">Volume: {volume}%</span>
            <Slider value={volume} onChange={setVolume} min={0} max={100} />
          </label>

          <Button onClick={() => setOpen(false)}>Close</Button>
        </div>
      </Dialog>
    </>
  )
}

Available Components

All 21 Yetzirah components with React-idiomatic APIs:

| Component | Props | Callback | |-----------|-------|----------| | Dialog | open | onClose | | Drawer | open, position | onClose | | Tabs, TabList, Tab, TabPanel | - | onChange | | Menu, MenuItem, MenuTrigger | - | onClick | | Accordion, AccordionItem | multiple | - | | Disclosure | open | onToggle | | Select, SelectOption | value, multiple | onChange | | Autocomplete, AutocompleteOption | value | onInput, onSelect | | Listbox, ListboxOption | value | onChange | | Popover | open, position | onToggle | | Tooltip | content, position | - | | Toggle | checked, disabled | onChange | | Slider | value, min, max, step | onChange, onInput | | Button | disabled | onClick | | Chip | deletable, disabled | onDelete | | IconButton | ariaLabel, tooltip | onClick | | DataGrid, DataGridColumn | data, columns | onSort, onRowSelect | | ThemeToggle | storageKey | onThemeChange | | Snackbar | open, duration, position | onClose | | Progress | value, variant | - | | Badge | value, max | - |

Examples

Dialog

import { Dialog, Button } from '@grimoire-intel/yetzirah-react'
import { useState } from 'react'

function MyComponent() {
  const [open, setOpen] = useState(false)

  return (
    <>
      <Button onClick={() => setOpen(true)}>Open</Button>
      <Dialog open={open} onClose={() => setOpen(false)}>
        <h2>Dialog Title</h2>
        <Button onClick={() => setOpen(false)}>Close</Button>
      </Dialog>
    </>
  )
}

Select

import { Select, SelectOption } from '@grimoire-intel/yetzirah-react'
import { useState } from 'react'

function MyComponent() {
  const [value, setValue] = useState('')

  return (
    <Select value={value} onChange={setValue} placeholder="Choose...">
      <SelectOption value="1">Option 1</SelectOption>
      <SelectOption value="2">Option 2</SelectOption>
    </Select>
  )
}

Tabs

import { Tabs, TabList, Tab, TabPanel } from '@grimoire-intel/yetzirah-react'

function MyComponent() {
  return (
    <Tabs>
      <TabList>
        <Tab>Tab 1</Tab>
        <Tab>Tab 2</Tab>
      </TabList>
      <TabPanel>Content 1</TabPanel>
      <TabPanel>Content 2</TabPanel>
    </Tabs>
  )
}

Toggle + Slider

import { Toggle, Slider } from '@grimoire-intel/yetzirah-react'
import { useState } from 'react'

function MyComponent() {
  const [enabled, setEnabled] = useState(false)
  const [volume, setVolume] = useState(50)

  return (
    <>
      <Toggle checked={enabled} onChange={setEnabled} />
      <Slider value={volume} onChange={setVolume} min={0} max={100} />
    </>
  )
}

DataGrid

import { DataGrid, DataGridColumn } from '@grimoire-intel/yetzirah-react'

const data = [
  { id: 1, name: 'Alice', email: '[email protected]' },
  { id: 2, name: 'Bob', email: '[email protected]' }
]

function MyComponent() {
  return (
    <DataGrid data={data} onSort={console.log} onRowSelect={console.log}>
      <DataGridColumn field="id" header="ID" width={80} />
      <DataGridColumn field="name" header="Name" sortable />
      <DataGridColumn field="email" header="Email" />
    </DataGrid>
  )
}

How It Works

These wrappers are thin adapters around Yetzirah's Web Components:

  • Event bridging: onClose prop → close event listener
  • Boolean attributes: open={true}setAttribute('open', '')
  • Ref forwarding: Access the underlying web component via ref

See @grimoire-intel/yetzirah for full component documentation.

TypeScript

Full type definitions included:

import type { DialogProps, SelectProps, SliderProps } from '@grimoire-intel/yetzirah-react'

Requirements

  • React 18.0 or higher

License

MIT