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

@donerui/core

v0.3.2

Published

A modern UI library for React, styled with Tailwind CSS.

Readme

Döner UI

A modern UI library optimized for React and styled with Tailwind CSS, @donerui makes it easy to build beautiful and responsive interfaces with efficiency.

Installation

To use @donerui in your project, you need to have Tailwind CSS installed. If you haven't already installed Tailwind CSS, please follow the official installation guide.

After setting up Tailwind CSS, you can install @donerui via npm:

npm install @donerui/core

or using yarn:

yarn add @donerui/core

Configuring Tailwind CSS

To take full advantage of @donerui, include the library in your tailwind.config.js file. This setup allows you to use the custom styles and utilities provided by @donerui seamlessly.

// tailwind.config.js
module.exports = {
  content: [
    "./src/**/*.{html,js}",
    "./node_modules/@donerui/**/*.js", // Include @donerui components
  ],
}

Extending Your Tailwind Configuration

Modify your tailwind.config.js to include @donerui's custom configurations. Here's how you can extend your Tailwind setup to include primary and secondary colors used by @donerui:

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        primary: {
          100: "#ffddaa",
          200: "#ffddaa",
          300: "#ffddaa",
          400: "#ffddaa",
          500: "#ffddaa",
          600: "#ffddaa",
          700: "#ffddaa",
          800: "#ffddaa",
          900: "#ffddaa",
        },
        secondary: {
          100: "#ffaadd",
          200: "#ffaadd",
          300: "#ffaadd",
          400: "#ffaadd",
          500: "#ffaadd",
          600: "#ffaadd",
          700: "#ffaadd",
          800: "#ffaadd",
          900: "#ffaadd",
        },
      },
    },
  }
}

Usage

Once you have included @donerui in your project and configured Tailwind CSS, you can start using the components as follows:

import { Button, Rating } from '@donerui/core';

function App() {
  return (
    <div>
      <Button color="primary">Click me</Button>
      <Rating />
    </div>
  );
}

This example shows how to use the Button and Rating components from @donerui. You can import and use any component from the library in a similar manner.

Contributing

We welcome contributions to @donerui! If you have suggestions or issues, please file them as issues on our GitHub repository at github.com/donerui/donerui.

License

@donerui is MIT licensed.