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

@threadws/jute

v0.1.0

Published

Thread Jute's React component library and design tokens, built for Tailwind CSS v4.

Readme

jute-components

Thread Jute's React component library and design tokens, built for Tailwind CSS v4. Ships as a normal npm-style package: pre-built components plus a CSS file defining the design tokens as Tailwind v4 @theme values.

Install

bun add file:../path/to/jute-components
# or, once published to a registry:
bun add @threadws/jute

react, react-dom, and tailwindcss are peer dependencies — the consuming project supplies them (react/react-dom ^18 or ^19, tailwindcss ^4).

Setup

In your app's CSS entry point:

@import "tailwindcss";
@import "@threadws/jute/styles.css";
@source "../node_modules/@threadws/jute/dist/**/*.js";

The @source line is required — Tailwind only scans your own project's files by default, so it needs to be told to also scan this package's compiled components to generate the utility classes they use.

Then use components as usual:

import { Button, Input, Tag, cn } from "@threadws/jute";

function Example() {
  return (
    <div data-theme="dark">
      <Button variant="primary">Get in touch</Button>
      <Tag tone="success">Live</Tag>
      <Input label="Email" placeholder="[email protected]" />
    </div>
  );
}

Theming

Set data-theme="dark" or data-theme="light" on <html> (or any ancestor element) to switch themes — dark is the default if the attribute is omitted. All components read color, spacing, and typography from CSS custom properties that flip based on this attribute.

Note: the design tokens intentionally reuse several of Tailwind's own default scale key names (font sizes, border radius, font weight). Importing @threadws/jute/styles.css replaces those keys for your entire project, not just for @threadws/jute — e.g. rounded-lg and text-lg will resolve to Thread Jute's values everywhere once imported. This is intentional (it's a full design-system token set), but worth knowing up front.

Components

  • core — Avatar, Badge, Button, Card, Eyebrow, IconAnimator, ProcessCard, ServiceCard, Skeleton, StatCard, Tag, Tooltip, WorkCard
  • forms — Checkbox, CheckboxGroup, Chip, Input, Radio, RadioGroup, Select, Switch, Textarea
  • navigation — Breadcrumbs, NavBar, Pagination, Sidebar, Stepper, Tabs
  • data — DataTable
  • feedback — Dialog, EmptyState, Loader, Toast

All components are named exports from the package root. Most of the library uses plain glyph characters (, +, , ×) instead of an icon library — Button's animatedIcon prop and IconAnimator are the exception, built on @heroicons/react for a hover icon-swap effect.

Local development

bun install
bun run dev        # demo app at http://localhost:4173, renders every component/variant in both themes
bun run typecheck
bun run build       # builds dist/ (JS, .d.ts, styles, assets)

The demo/ app is a local preview harness only — it isn't published as part of the package.