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

@ygorluiz/ui

v1.0.1

Published

Design System for YgorLuiz.dev (Radix UI)

Downloads

29

Readme

@ygorluiz/design-system

Design System for ygorluiz.dev.

Props

Forked from radix-ui/design-system

TODO

Would be nice to show all of this. And the ability to pass configuration so we can reduce sending all colours at the moment in the configuration.

Components

  • [x] Accordion
  • [x] Alert
  • [x] AlertDialog
  • [x] Announce *****
  • [ ] AppBar
  • [x] Avatar
  • [x] Badge
  • [x] Banner
  • [x] Box
  • [x] BoxGrab *****
  • [x] BoxLink *****
  • [x] Breakout *****
  • [x] Button
  • [x] Card
  • [x] Checkbox
  • [x] Code
  • [x] Container
  • [ ] ContextMenu
  • [ ] ControlGroup
  • [ ] ~~DesignSystemProvider~~
  • [x] Dialog
  • [ ] DropdownMenu
  • [x] Emoji *****
  • [x] Flex
  • [x] Grid
  • [x] Heading
  • [x] Hero *****
  • [x] IconButton
  • [x] IconLink *****
  • [ ] Image
  • [ ] Kbd (Keyboard Button)
  • [x] Label
  • [x] Link
  • [ ] Menu
  • [x] Note *****
  • [ ] Notion *****
  • [x] Overlay
  • [x] PageHeading *****
  • [x] Panel
  • [x] Paragraph
  • [x] Popover
  • [x] ProgressBar
  • [x] Radio
  • [x] RadioCard
  • [ ] RadioGrid
  • [x] ScrollArea *****
  • [ ] Scrollbar
  • [x] Section
  • [ ] Select
  • [x] Separator
  • [ ] Sheet
  • [ ] SimpleToggle
  • [x] Skeleton
  • [ ] Slider
  • [x] Status
  • [x] Sub
  • [x] Sup
  • [x] Switch
  • [x] Table
  • [x] TabLink
  • [x] Tabs
  • [x] Text
  • [x] TextArea
  • [ ] TextField
  • [x] Toast *****
  • [x] Tooltip (+ ./custom/ *****)
  • [ ] TreeItem
  • [ ] VerifiedBadge

Notion

This cannot be ported just yet. Wondering if this should instead go to:

  • @ygorluiz/notion as a Skeleton where only the logic is provided.

Then one could use their own styling system via which Components they pass to getContentNode*.

Architecture

./Notion/
├─ components/
│  ├─ _unsupported_.tsx
│  ├─ bulleted_list_item.tsx
│  ├─ bulleted_list.tsx
│  ├─ callout.tsx
│  ├─ checkbox.tsx
│  ├─ column_list.tsx
│  ├─ column.tsx
│  ├─ date.tsx
│  ├─ files.tsx
│  ├─ heading_1.tsx
│  ├─ heading_2.tsx
│  ├─ heading_3.tsx
│  ├─ image.tsx
│  ├─ multi_select.tsx
│  ├─ numbered_list_item.tsx
│  ├─ numbered_list.tsx
│  ├─ paragraph.tsx
│  ├─ quote.tsx
│  ├─ relation.tsx
│  ├─ rich_text.tsx
│  ├─ title.tsx
│  ├─ to_do.tsx
│  ├─ toggle.tsx
│  ├─ url.tsx
├─ utils/
│  ├─ getContentNodes.tx
│  ├─ getContentType.tx
│  ├─ getContentTypeDetail.tsx
│  ├─ TextAnnotations.tsx
├─ ContentNodes.tsx
├─ index.ts

ContentNodes

Receives content and images which comes from @ygorluiz/notion.

Cycles through each node via getContentNodes (=> getContentType) to determine:

  • ul
  • ol
  • *

This is to wrap li (bulleted_list_item|numbered_list_item) accordingly.

Similiarly these components also cycle through getContentNodes for its content:

  • callout
  • column_list (=> column)
  • toggle will cycle through its content for its children.

getContentTypeDetail

For any text based component, this is called to get its attributions, to feed into TextAnnotations.

  • href
  • plain_text
  • annotations

Next.js

Cannot port these over until we can abstract away from Next in this component system.

Not sure how to do that just yet, maybe accept a Component for an a|image wrapper.

Though also, I am sensing a very opinionated theme throughout all of this, haha.

So maybe for now this only works with Next if we move it over early.

image

Currently tied to next/image

TextAnnotations

Currently tied to next/link

This is where we determine if the Text is a Text or Link and apply all annotations.

next/dynamic

This is used as the hash for getContentNode, which cannot currently get ported over.

Most likely the way to call these section of Components will be to create your own getContentNode as you would not want to load all of these if you do not have to and add your own logic to SSR only the first X components in the tree.

const getContentNode = {
  _unsupported: dynamic(() => import("./components/_unsupported")),
  bulleted_list_item: dynamic(() => import("./components/bulleted_list_item")),
  bulleted_list: dynamic(() => import("./components/bulleted_list")),
  callout: dynamic(() => import("./components/callout")),
  checkbox: dynamic(() => import("./components/checkbox")),
  column_list: dynamic(() => import("./components/column_list")),
  column: dynamic(() => import("./components/column")),
  date: dynamic(() => import("./components/date")),
  divider: dynamic(() => import("./components/divider")),
  files: dynamic(() => import("./components/files")),
  heading_1: dynamic(() => import("./components/heading_1")),
  heading_2: dynamic(() => import("./components/heading_2")),
  heading_3: dynamic(() => import("./components/heading_3")),
  image: dynamic(() => import("./components/image")),
  multi_select: dynamic(() => import("./components/multi_select")),
  numbered_list_item: dynamic(() => import("./components/numbered_list_item")),
  numbered_list: dynamic(() => import("./components/numbered_list")),
  paragraph: dynamic(() => import("./components/paragraph")),
  quote: dynamic(() => import("./components/quote")),
  relation: dynamic(() => import("./components/relation")),
  rich_text: dynamic(() => import("./components/rich_text")),
  title: dynamic(() => import("./components/title")),
  to_do: dynamic(() => import("./components/to_do")),
  toggle: dynamic(() => import("./components/toggle")),
  url: dynamic(() => import("./components/url")),
};