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

@fayz-ai/ui

v0.1.7

Published

Fayz SDK UI — Radix + Tailwind component library with CRUD engine and layout shells

Downloads

578

Readme

@fayz-ai/ui

Radix + Tailwind primitives, a CRUD engine, and the admin shell every Fayz app wears.

npm license

A composed Fayz app needs to look like one product, not a pile of plugins. @fayz-ai/ui is the design layer that makes that true: accessible Radix-backed primitives, a data table, layout shells (app shell, sidebar, module pages), a themeable token system, and a dashboard widget kit that plugins contribute KPIs, charts, and tables into. Salon, restaurant, clinic — same shell, same widgets, different brand.

The philosophy: plugins describe behavior, the UI renders it consistently. Define a KPI widget once and it lands in the dashboard grid with layout, ranges, and customization already wired. Drop in AppShell and Sidebar and the navigation a plugin declared just appears.

What's inside

  • Primitives — Button, Input, Badge, Card, Modal, Sheet, Dropdown, Select, Tabs, Tooltip, Popover, DataTable (TanStack), Checkbox, DatePicker, TimePicker, SearchSelect, CurrencyInput, ConfirmDialog, SegmentedControl, toast (sonner)
  • LayoutAppShell, Sidebar, Topbar, ModulePage, SubpageHeader, SaveBar, page transitions, and the module header/back-button slots
  • Dashboard kitDashboardCanvas, WidgetGrid, DashboardGrid, range controls, and defineKpiWidget / defineChartWidget / defineTableWidget / defineOnboardingWidget / defineCustomWidget with KpiCard, ChartWidget, TableWidget
  • ThemeThemeProvider, useTheme, createFayzTheme, fayzThemePresets, light/dark tokens
  • Stores + utilsuseLayoutStore, useThemeStore, cn, Avatar

Install

npm install @fayz-ai/ui

Peer deps: react, react-dom (^18/^19), tailwindcss (^3.4). Import @fayz-ai/ui/styles.css.

Usage

import { Button, KpiCard, defineKpiWidget } from '@fayz-ai/ui'
import '@fayz-ai/ui/styles.css'

export const revenueWidget = defineKpiWidget({
  id: 'revenue',
  title: 'Revenue',
  value: { format: 'currency', amount: 12400, currency: 'BRL' },
})

export function Demo() {
  return <Button variant="default">Save</Button>
}

Part of the Fayz SDK

The presentation layer on top of @fayz-ai/core; the admin surface in @fayz-ai/saas is built from it.

Roadmap & contributing

Built and evolving in the open. See the Fayz SDK roadmap for current gaps, missing features, and good first issues.