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-solid

v1.0.0

Published

Solid.js wrappers for Yetzirah Web Components

Downloads

3

Readme

@grimoire-intel/yetzirah-solid

Solid.js wrappers for Yetzirah Web Components with native signal integration.

Installation

npm install @grimoire-intel/yetzirah-solid

Usage

import { Dialog, Button, Toggle, Slider } from '@grimoire-intel/yetzirah-solid'
import { createSignal } from 'solid-js'

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

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

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

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

          <label class="db mb3">
            <span class="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 Solid-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-solid'
import { createSignal } from 'solid-js'

function MyComponent() {
  const [open, setOpen] = createSignal(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-solid'
import { createSignal } from 'solid-js'

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

  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-solid'

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-solid'
import { createSignal } from 'solid-js'

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

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

How It Works

These wrappers use Solid's native reactivity primitives:

  • createEffect: Syncs signal values to web component attributes
  • onCleanup: Removes event listeners when components unmount
  • splitProps: Separates wrapper props from pass-through attributes
// Simplified wrapper implementation
const Dialog: Component<DialogProps> = (props) => {
  let ref: HTMLElement
  const [local, others] = splitProps(props, ['open', 'onClose', 'children'])

  createEffect(() => {
    if (local.open) ref.setAttribute('open', '')
    else ref.removeAttribute('open')
  })

  createEffect(() => {
    if (!local.onClose) return
    const handler = () => local.onClose?.()
    ref.addEventListener('close', handler)
    onCleanup(() => ref.removeEventListener('close', handler))
  })

  return <ytz-dialog ref={ref} {...others}>{local.children}</ytz-dialog>
}

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

TypeScript

Full type definitions included:

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

Requirements

  • Solid.js 1.0 or higher

License

MIT