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 🙏

© 2025 – Pkg Stats / Ryan Hefner

sabled

v0.3.81

Published

A modern, comprehensive React UI component library with beautiful designs and enhanced components. Features advanced Tooltip with smart positioning, Select/Input improvements, Message animations, and more. Built with TailwindCSS and TypeScript for maximum

Readme

🎨 Sabled UI Library Demo Version

A modern React component library designed for practical, accessible, and beautiful user interfaces. Built with TailwindCSS and TypeScript, Sabled offers zero-setup APIs for Confirm dialogs and Message notifications, making it easy to create production-ready UIs with minimal configuration.

✨ Features

  • 🎯 15+ Production-Ready Components - Featuring powerful Confirm dialogs and Message notifications
  • 🚀 Zero Setup Required - No providers, context, or configuration needed
  • 🪄 No CSS Imports Needed - Styles are automatically included; just use the components
  • 💬 Imperative APIs - Call Confirm and Message directly from anywhere in your code
  • 🎨 Modern Design System - Clean, cohesive components with a focus on usability and consistency
  • Performance Optimized - Tree-shakeable with minimal bundle size
  • 🔧 Highly Customizable - Multiple variants, colors, and sizes for every component
  • 📱 Responsive Design - Works beautifully on all screen sizes
  • Accessibility First - ARIA compliant with keyboard navigation
  • 💪 TypeScript Native - Full type safety and IntelliSense support

🚀 Installation

npm install sabled

🎬 Quick Start

import { Confirm, Message, Button, Input, Card } from "sabled";

function App() {
  const handleDelete = () => {
    Confirm({
      title: "Delete Item",
      message:
        "Are you sure you want to delete this item? This action cannot be undone.",
      confirmText: "Delete",
      cancelText: "Cancel",
      variant: "danger",
      onConfirm: () => {
        // Perform delete action
        console.log("Item deleted");
        Message.success({
          text: "Item deleted successfully!",
          variant: "solid", // NEW: Use solid variant for emphasis
          showProgress: true,
          action: {
            label: "Undo",
            onClick: () => Message.info({
              text: "Undo feature coming soon!",
              variant: "minimal" // NEW: Use minimal variant for subtle info
            })
          }
        });
      },
      onCancel: () => {
        console.log("Delete cancelled");
        Message.info({
          text: "Delete operation cancelled",
          variant: "ghost" // NEW: Use ghost variant for non-intrusive feedback
        });
      },
    });
  };

  const handleSearch = (value: string) => {
    console.log("Searching for:", value);
    if (value.trim()) {
      Message.info({
        text: `Searching for: ${value}`,
        variant: "outlined", // NEW: Use outlined variant for clean look
        description: "Please wait while we search...",
        showProgress: true,
        pauseOnHover: true
      });
    }
  };

  return (
    <div className="p-6">
      <Card variant="bordered" className="p-6">
        <h2 className="text-xl font-semibold mb-4">User Management</h2>
        <div className="flex gap-4">
          <Input
            label="Search users"
            placeholder="Type to search..."
            variant="bordered"
            onChange={handleSearch}
          />
          <Button variant="bordered" color="danger" onClick={handleDelete}>
            Delete Selected
          </Button>
        </div>
      </Card>
    </div>
  );
}

🎨 Message Variants (NEW!)

The Message component now supports 5 different visual variants to match your design needs:

// Default - Standard appearance
Message.success("Standard success message");

// Solid - Bold, high contrast for critical messages
Message.error({ text: "Critical error!", variant: "solid" });

// Minimal - Subtle, low visual impact
Message.info({ text: "Auto-saved", variant: "minimal" });

// Outlined - Clean, professional border design
Message.warning({ text: "Review required", variant: "outlined" });

// Ghost - Transparent, non-intrusive
Message.success({ text: "Connected", variant: "ghost" });

Made with ❤️ by SHINEE - Trying to make great UIs easily.