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

sparkle-ui-library

v1.0.5

Published

A React UI component library built with Vite and TypeScript

Readme

✨ Sparkle UI Library

Sparkle is an aesthetic React UI Component Library built with TypeScript and Vite. Designed to bring beauty, functionality, and simplicity to your user interfaces, it offers a modern take on reusable components inspired by leading design systems.


🚀 Live Demo

Check out the live demo here!

Explore all components and their usage examples in the live demo.


📦 Installation

Install via npm:

npm install sparkle-ui-library

Or using Yarn:

yarn add sparkle-ui-library

🛠 Quick Usage Example

Here's how to use the Avatar and Button components:

import { Avatar, Button } from "sparkle-ui-library";

export default function Example() {
  return (
    <div>
      <Avatar size="large">
        <Avatar.Image src="./avatar.jpg" alt="User Avatar" />
      </Avatar>
      <Avatar size="medium">
        <Avatar.Text>JD</Avatar.Text>
      </Avatar>
      <Button variant="primary">Click Me</Button>
    </div>
  );
}

For more examples and detailed component usage, visit the live demo.


✨ About Sparkle

Sparkle began as a personal project to explore reusable components and modern UI patterns. Named after one of my favorite songs, it’s inspired by various design systems, including the Geist Design System from the Vercel team.

Sparkle is independently developed, aiming to provide developers with beautiful, functional, and easy-to-use components.


🌟 Highlights

  • Modern and Aesthetic Design: Inspired by leading design systems.
  • Reusable and Customizable: Components are fully accessible and easy to tweak.
  • React and TypeScript: Seamless integration and type safety for developers.
  • Developer-Focused: Built with simplicity and flexibility in mind.

📚 Available Components

  • Avatar: Display user images or initials.
  • Button: Customizable buttons with various styles and sizes.
  • Card: Flexible content containers with headers and footers.
  • Dropdown: Accessible dropdown menus.
  • Sidebar: Layout components for side navigation.
  • Badge, Input, Navbar, ToggleSwitch, and more!

For a full list of components and detailed examples, check out the live demo.


🎨 Customization

Most components accept props for easy customization:

<Button variant="primary" size="large">
  Click Me
</Button>
  • variant: primary, secondary, danger
  • size: small, medium, large

For full prop documentation, visit the live demo.


🛠 Getting Started

Sparkle is designed to simplify the process of building beautiful and accessible user interfaces.

# Install Sparkle
npm install sparkle-ui-library

# Import and use a component
import { Button } from 'sparkle-ui-library';

export default function App() {
  return <Button variant="primary">Click Me</Button>;
}

🤝 Contributing

Contributions are welcome! 🎉
If you’d like to contribute, please fork the repository and submit a pull request. For major changes, open an issue first to discuss what you'd like to improve.


📄 License

This project is licensed under the MIT License.