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

@jose88/tempo-ui

v0.4.0

Published

A modern and lightweight React component library, built with Vite and focused on a clean design and great developer experience.

Readme


NPM Version License: MIT npm downloads Bundle Size

Tempo UI is a modern, lightweight React component library built with Vite, focused on a clean, minimalist design and a great developer experience. It's designed for easy integration into any React project.

🚀 Live Demo (Storybook)

Explore all the components in action in our Storybook.

🔗 View Storybook Demo

DEMO LINK

✨ Features

  • ⚛️ React Focused: Built with React and TypeScript for robust, type-safe components.
  • ⚡️ Vite Powered: Blazing-fast development server and optimized production builds.
  • 📦 Tree-shaking Ready: Import only the components you need, keeping your bundle lean.
  • 🧪 Testing with Jest: Components are rigorously tested to ensure reliability.
  • 🎨 Modular Styles: A structured approach to managing design tokens and global styles.

📦 Installation

To get started with tempo-ui in your project, install the scoped package via your favorite package manager:

npm install @jose88/tempo-ui
# or
yarn add @jose88/tempo-ui

💡 Usage

It's easy to get started! There are two main steps to use Tempo UI components in your application:

  1. Import the Global Stylesheet: @jose88/tempo-ui relies on a global stylesheet for base styles and design tokens. You should import this once, typically in your main application entry file (e.g., src/main.tsx, src/App.tsx, or src/index.tsx).

    // src/main.tsx or src/App.tsx
    import React from 'react';
    import { createRoot } from 'react-dom/client'; // Import createRoot directly
    import { StrictMode } from 'react'; // Import StrictMode directly
    import App from './App';
    
    // 1. Import the global stylesheet here
    import '@jose88/tempo-ui/style.css';
    
    createRoot(document.getElementById("root")!).render(
      <StrictMode>
        <App />
      </StrictMode>
    );
  2. Import and Use Components: Now you can import and use any component from @jose88/tempo-ui directly in your application.

    import React from "react";
    import { Buttons, Icon, Loader } from "@jose88/tempo-ui";
    
    const MyAppComponent = () => (
      <div>
        <h1>Welcome to Tempo UI!</h1>
    
        {/* Example Button */}
        <Button label={"Default Button dark"} kind="standard" color="dark" onClick={() => alert("Button Clicked!")} />
    
        {/* Example Icon */}
        <Icon group="actions" name="add" onClick={() => console.log("Add Icon clicked")} />
    
        {/* Example Loader */}
        <Loader size="medium" />
      </div>
    );
    
    export default MyAppComponent;

Optional: Shorter Imports (Alias Configuration)

For a cleaner import experience, you can configure your project's build tool (e.g., TypeScript, Vite, Webpack) to resolve tempo-ui to @jose88/tempo-ui. This allows you to use import { Component } from 'tempo-ui'; instead of import { Component } from '@jose88/tempo-ui';.

For TypeScript Projects (tsconfig.json):

Add the following to your compilerOptions.paths:

// tsconfig.json (in your consuming project)
{
  "compilerOptions": {
    "baseUrl": "./", // Ensure this matches your project's baseUrl
    "paths": {
      "tempo-ui": ["node_modules/@jose88/tempo-ui/dist/tempo-ui.es.js"],
      // The line below helps resolve sub-paths like 'tempo-ui/style.css'
      "tempo-ui/*": ["node_modules/@jose88/tempo-ui/dist/*"]
    }
  }
  // ... other tsconfig options
}

Once configured, you can import like this:

// Using the alias for global styles
import "tempo-ui/style.css";
// Using the alias for components
import { Icon } from "tempo-ui";

function MyAliasedAppComponent() {
  return (
    <div>
      <Icon group="actions" name="add" />
    </div>
  );
}

🧩 Available Components

tempo-ui currently offers the following components, organized by their function:

  • Atoms
    • Buttons: A suite of button components with different styles and functionalities (Button, ActionButton, SwitchButton).
    • Icon: Component that displays a set of predefined SVG icons.
    • Checkbox: Base component to define a checkbox.
    • Divider: Use this component to show a divider.
  • ContentDisplay
    • Card: A flexible content container.
    • Avatar: If an image is used it will be shown as avatar, otherwise the initials will be used.
    • Badge: Component to render a badge (with optional text content).
    • Label: Component which shows a text value as a label.
    • Tag: Component that shows a text value as a tag.
  • Feedback
    • Loader: An indicator for loading states.
  • Form
    • AlternativeField: A generic wrapper for form fields.

🤝 Contributing to Tempo UI

We're thrilled you're interested in contributing to Tempo UI! This guide will help you set up your development environment, understand the project structure, and navigate the contribution process.

License

This project is licensed under the terms of the MIT license.