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

simple-unified-ui

v1.0.13

Published

Component library built with React.js, TypeScript, and styled-components

Readme

simple-unified-ui

Introduction

A re-usuable React component library Common sought after components put together into a single place for you to use!

Index

About

  • Simply install the package in React Project using "npm install simple-unified-ui"
  • Import components into your React project e.g. import { LargeButton } from "simple-unified-ui"
  • ✨Magic ✨

Features

  • Customisable components
  • Fully typed props
  • Styled components included too!

Tech

simple-unified-ui uses a limited number of different JS direct dependencies to work correctly:

  • React - JavaScript FE framework built by Facebook.
  • TypeScript - staticly typed superset of JavaScript
  • styled-components - lets you write actual CSS in your React components

Example usage

// MyComponent.jsx
import React from "react";
import { ButtonBase } from "simple-unified-ui";

export const App = () => (
  <div>
    <h1>My Simple App</h1>
    <ButtonBase
      onClick={() => {
        console.log("test");
      }}
    >
    Example Button
    <ButtonBase>
  </div>
);

The above example is a local component within a React project that uses a 'LargeButton' component within the simple-unified-ui library. For better clarification of these components you can clone this repo onto your machine and in the root directory run storybook via "npm run storybook" to view each component in isolation.

Installation

Install the simple-unified-ui dependency within your React application to utilise any of the components within the library via the below npm command.

npm i simple-unified-ui

Preview Components

Because this repository utilises Storybook.js you are able to preview components in isolation. To do so just follow the below steps

  1. Clone the repository with via the terminal with git clone [email protected]:Daniel-K-Miller/simple-unified-ui.git .
  2. Install the required dependencies with npm i
  3. Run storybook via npm run storybook

Component Tiers

It might also be useful to understand the structuring of components within the Storybook instance when navigating and NEEDED to be known if intending to contribute to the library.

Components are split into three groups:

Core

The Core group contains components that are very plain! They are in essence components that cannot really be broken down any further, an example of a Core component is a Button component. This will fall within Core because it cannot be broken down further. Just think of Core components as almost akin to HTML elements (your divs/spans etc...), they are very basic and are core to building more complex levels of components!

Basic

The Basic group contains components that are a bit more purpose driven. I like to think of them as a Component that encorperates the use of multiple fundumental components/elements. They are not the most broken down state of a component but are not also super complex components. An example Basic component may be a Block, this component dynamically sets the wrapper container (from the type passed via props) while also encorpering a heading if appropriate (from props again). I will echo again - Basic components can just be seen as components made up of multiple fundumental components.

Advanced

The Advanced group contains multiple Basic group components and also encorperate more complex logic (but not always necessary). This can be seen as the top level of a component system - there is no level above. An example of an Advanced component is the Album component, this is a component that has within it a Basic Items component and a Basic Controls component and therefore qualifies as an Advanced component (as it features two components which are not just Core components), ontop of this, the Album component also holds logic determing scrolling, button interactions. These Advanced components are the ones that hold Component systems together and can be seen as the 'motherboard'.

Contribute

Want to contribute? Great!

simple-unified-ui is stored on GitHub and through pull requests, if you add a component and it is seen as beneficial it will be added to the repository!

NOTE: when adding components or making changes you will have to follow the same file structure as existing components currently

Component file structure

...
├── button                             # component root folder e.g. button
│   ├── _ButtonBase.stories.ts         # example story for component
│   ├── index.tsx        	       # react component
│   ├── props.ts                       # interface file defining props for index.tsx
│   └── styled.ts        	       # styled component (uses ./index.tsx) to add styling
│
...

Resources

  • GitHub Repository: https://github.com/Daniel-K-Miller/simple-unified-ui/
  • NPM Package: https://www.npmjs.com/package/simple-unified-ui

License

MIT