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

@adhese/ui

v7.0.0

Published

This is the @adhese/ui component library. It is an implementation of the Gambit Design System. The design system is a collection of reusable components, guided by clear standards, that can be assembled together to build any number of applications.

Downloads

3,007

Readme

@adhese/ui

Introduction

This is the @adhese/ui component library. It is an implementation of the Gambit Design System. The design system is a collection of reusable components, guided by clear standards, that can be assembled together to build any number of applications.

The foundation is a collection of "shadcn-ui styled" @radix-ui components, which have been slightly modified to fit the Gambit Design System.

Get started

This document will guide you through the process of setting up a project with the Adhese UI library and the Adhese Design Tokens library.

1. Installation

pnpm add @adhese/ui
pnpm add -D @adhese/design-tokens tailwindcss-animate
npm install @adhese/ui
npm install -D @adhese/design-tokens tailwindcss-animate
yarn add @adhese/ui
yarn add -D @adhese/design-tokens tailwindcss-animate

2. Add the variables to your global css file

@source 'path/to/node_modules/@adhese/ui';
@plugin 'tailwindcss-animate';
@import '@adhese/design-tokens/variables';
@import '@adhese/design-tokens/animations';
@import './theme-tokens.css';

Generating a theme

In the design-tokens folder in the gambit-design-system repo there is a theme generator that you should use to generate the available themes from Figma. You can also decide to DIY ofcourse, you can take a look at the themes used in apps/docs to get an idea.

Read more about theming.

3. Ready to go!

import { Button } from '@adhese/ui';

function Example() {
  function handleClick() {
    console.log('clicked on the button!');
  }
  return <Button onClick={handleClick}>Get started</Button>;
}

4. Local development (VITE ONLY)

When working on @adhese/ui you may want to see your local changes inside your own application before making a PR. To use your locally cloned version of @adhese/ui there are few steps you need to follow:

4.1. Add a new override to your package.json that points to the local version:

note: if you are using a monorepo the override should be defined at the root package.json.

"@adhese/ui": "file:///path/to/file/adhese/gambit-design-system/packages/ui"

4.2. Create a new alias for the @adhese/ui package in the

vite.config.ts and exclude from optimization.

import path from 'path';

const pathToUi = path.resolve(
  __dirname,
  '../../../gambit-design-system/packages/ui',
);

export default defineConfig({
  plugins: [react(), svgr()],
  optimizeDeps: {
    exclude: ['@adhese/ui'],
  },
  resolve: {
    alias: {
      '@adhese/ui': path.join(pathToUi, 'dist/components/ui/'),
    },
  },

4.3 Versioning and nightly builds

To create a new changeset for you local changes, run the following command and follow the instructions:

pnpm changeset

Tip: use to switch between major/minor/patch changes.

Every commit on a PR will get a matching nightly build that you can also use to test out your changes.