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

@syscore/ui-library

v1.19.0

Published

A comprehensive React component library built with Radix UI, Tailwind CSS, and TypeScript

Downloads

1,457

Readme

Fusion UI Design System

A comprehensive, production-ready React component library built with Radix UI, Tailwind CSS, and TypeScript.

Features

  • 🎨 46+ React Components - Accordion, Button, Dialog, Form, Navigation, and more
  • 🎯 Accessible - Built on Radix UI primitives with full WCAG compliance
  • 🎭 Customizable - Tailwind CSS based styling, easily themable
  • 📦 Tree-shakeable - ES modules with proper exports
  • 🔧 TypeScript - Full TypeScript support with proper type definitions
  • 📖 Storybook - Interactive component documentation and playground
  • ARIA Ready - Screen reader and keyboard navigation support

Installation

npm install @syscore/ui-library
# or
pnpm add @syscore/ui-library
# or
yarn add @syscore/ui-library

Prerequisites

Make sure your project has the required peer dependencies:

npm install react react-dom tailwindcss

Quick Start

1. Configure Tailwind CSS

Add the component library paths to your tailwind.config.ts:

import type { Config } from "tailwindcss";

export default {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "node_modules/@syscore/ui-library/**/*.{js,mjs}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
} satisfies Config;

2. Import Components

import { Button, Card, Input } from "@syscore/ui-library";

export default function App() {
  return (
    <Card>
      <Input placeholder="Enter your name" />
      <Button>Submit</Button>
    </Card>
  );
}

Available Components

Layout & Structure

  • Accordion - Collapsible content sections
  • AspectRatio - Maintain aspect ratios for media
  • Card - Container component with header, footer, content
  • Separator - Visual divider between sections
  • ScrollArea - Scrollable area with custom styling
  • Table - Data table component
  • Resizable - Resizable panel groups
  • Sidebar - Navigation sidebar with menu items

Form & Input

  • Button - Primary button component with variants
  • Input - Text input field
  • Textarea - Multi-line text input
  • Label - Form label
  • Checkbox - Checkbox input
  • RadioGroup - Radio button group
  • Switch - Toggle switch
  • Slider - Range slider
  • Select - Dropdown select
  • InputOTP - One-time password input
  • ToggleGroup - Toggle button group
  • Toggle - Single toggle button
  • Form - Form container with field validation

Display

  • Badge - Small label/tag component
  • Alert - Alert message with icon
  • Avatar - User avatar with fallback
  • Breadcrumb - Navigation breadcrumb
  • Progress - Progress bar
  • Skeleton - Content loading skeleton
  • Calendar - Date picker calendar

Navigation

  • Tabs - Tabbed content
  • Pagination - Page navigation
  • NavigationMenu - Horizontal navigation menu
  • Menubar - Application menu bar
  • DropdownMenu - Dropdown menu

Dialog & Overlay

  • Dialog - Modal dialog
  • Sheet - Slide-out sheet/drawer from side
  • Drawer - Accessible drawer component
  • AlertDialog - Alert dialog with confirmation
  • Popover - Floating popover panel
  • HoverCard - Card that appears on hover
  • Tooltip - Tooltip on hover
  • ContextMenu - Right-click context menu

Interactive

  • Carousel - Image/content carousel
  • Collapsible - Collapsible content
  • Command - Command palette/search

Notifications

  • Toast - Toast notification system
  • Toaster - Toast container
  • Sonner - Toast notifications alternative

Charts

  • Chart - Data visualization components

Component Examples

Button

import { Button } from "@syscore/ui-library";

export default function ButtonExample() {
  return (
    <>
      <Button>Default</Button>
      <Button variant="outline">Outline</Button>
      <Button variant="destructive">Destructive</Button>
      <Button disabled>Disabled</Button>
    </>
  );
}

Dialog

import {
  Dialog,
  DialogTrigger,
  DialogContent,
  DialogHeader,
  DialogTitle,
  Button,
} from "@syscore/ui-library";

export default function DialogExample() {
  return (
    <Dialog>
      <DialogTrigger asChild>
        <Button>Open Dialog</Button>
      </DialogTrigger>
      <DialogContent>
        <DialogHeader>
          <DialogTitle>Dialog Title</DialogTitle>
        </DialogHeader>
        <p>Dialog content goes here.</p>
      </DialogContent>
    </Dialog>
  );
}

Form with Validation

import { useForm } from "react-hook-form";
import { Button, Input, Label, Form } from "@syscore/ui-library";

export default function FormExample() {
  const { register, handleSubmit } = useForm();

  return (
    <form onSubmit={handleSubmit((data) => console.log(data))}>
      <div className="space-y-4">
        <div>
          <Label htmlFor="name">Name</Label>
          <Input id="name" {...register("name")} />
        </div>
        <Button type="submit">Submit</Button>
      </div>
    </form>
  );
}

Customization

Tailwind Configuration

All components use Tailwind CSS classes and can be customized through your tailwind.config.ts:

export default {
  theme: {
    extend: {
      colors: {
        primary: "#YOUR_COLOR",
        secondary: "#YOUR_COLOR",
      },
    },
  },
};

Component Props

Each component accepts standard HTML attributes and additional props for customization:

<Button variant="solid" size="lg" className="custom-class" disabled={false}>
  Click me
</Button>

Storybook

View interactive documentation and examples:

npm run storybook

This opens Storybook at http://localhost:6006 where you can browse all components and their variants.

TypeScript Support

Full TypeScript support with proper type definitions:

import type { ButtonHTMLAttributes } from "react";
import { Button, type ButtonProps } from "@syscore/ui-library";

interface MyButtonProps extends ButtonProps {
  label: string;
}

export default function MyButton({ label, ...props }: MyButtonProps) {
  return <Button {...props}>{label}</Button>;
}

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE file for details

Support

Related


Made with ❤️ by Your Team