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

stp-ui-kit

v0.1.0

Published

Smartestprep UI Kit for React apps

Readme

🎨 stp-ui-kit

A comprehensive React UI Kit with 50+ production-ready components for the Smartestprep platform. Built with TypeScript, Tailwind CSS, and SCSS for consistent design and rapid development.

npm version License: MIT


✨ Features

  • 🎨 50+ Components - Display, Form, Feedback, Layout, Navigation, Data
  • 🎯 Design System - Comprehensive design tokens (spacing, colors, typography)
  • 📱 Responsive - Mobile-first with built-in breakpoints
  • 🔧 TypeScript - Full type safety with strict mode
  • 🎭 Theming - CSS custom properties for easy theming
  • 🚀 Tree-shakeable - ES modules for optimal bundle size
  • 📚 Storybook - Interactive component documentation
  • 🔥 Hot Reload - Watch mode for seamless development with npm link

📦 Installation

npm install stp-ui-kit
# or
yarn add stp-ui-kit
# or
pnpm add stp-ui-kit

🚀 Quick Start

// Import styles once in your app entry (main.tsx or App.tsx)
// Import and use components
import { Button, Input, Modal, Typography } from "stp-ui-kit";
import "stp-ui-kit/styles";

export default function App() {
  return (
    <div>
      <Typography variant='h1'>Welcome</Typography>
      <Input
        label='Email'
        placeholder='Enter your email'
      />
      <Button variant='primary'>Get Started</Button>
    </div>
  );
}

Using Design Tokens

In SCSS files:

@use "stp-ui-kit/styles/variables" as stp;

.my-component {
  padding: stp.$space-400; // 16px
  border-radius: stp.$border-radius-100; // 4px
  color: var(--color-neutral-800);
}

In JavaScript/TypeScript:

import { breakpoints, spacing, typography } from "stp-ui-kit/tokens";

const styles = {
  padding: spacing["space-400"], // '16px'
};

📚 Documentation


📂 Project Structure

src/
 ├─ assets/            # custom icons and static assets
 ├─ components/        # UI components
 │   ├─ data/
 │   ├─ display/
 │   ├─ feedback/
 │   ├─ form/
 │   ├─ layout/
 │   ├─ navigation/
 │   └─ ui/
 ├─ lib/               # helpers, utils
 ├─ styles/            # global styles, tokens, variables
 │   ├─ _variables.scss
 │   ├─ main.scss
 │   └─ tokens.ts
 ├─ App.tsx            # playground / dev entry
 └─ index.ts           # main export file

🛠 Tech Stack

  • React 18+ / 19+ – core UI framework
  • TypeScript – strongly typed components
  • TailwindCSS 4 + SCSS – styling and design tokens
  • React Hook Form – form handling integration
  • Storybook 8 – interactive component documentation
  • Vite – development & build tooling

📖 Documentation

Run Storybook to explore and test components interactively:

npm run storybook

Build the static Storybook docs:

npm run build-storybook

🧑‍💻 Development

  • Start in dev mode

    npm run dev
  • Build library

    npm run build
  • Lint & format

    npm run lint
    npm run format
  • Generate tokens

    npm run generate-tokens

🔑 Principles

  • Fully typed components (.ts / .tsx only)
  • Consistent design system powered by tokens according to Figma designs
  • Use named exports only (export const)
  • Remove unused/deprecated components over time
  • Do not add new dependencies unless absolutely necessary (to avoid making the project heavy)

📦 Project Releases

  • Always upgrade the version in package.json before publishing
  • Do not run npm publish for every minor change
  • Always run npm run build before publishing
  • All changes must be commited into repository

🛠 Local Development with Hot Reload

When developing stp-ui-kit and testing in another project:

# 1. In stp-ui-kit directory
npm link
npm run build:watch  # Keep this running - auto-rebuilds on changes!

# 2. In your project directory
npm link stp-ui-kit
npm start

# Changes in stp-ui-kit will now auto-reflect in your project! 🔥

No need to unlink/relink - build:watch provides hot reload for linked packages.

📤 Publishing

  • Always run npm run build before publishing
  • Update version in package.json before npm publish
  • Commit all changes to repository
  • Run npm run format and npm run lint before committing

🤝 Contributing

  1. Clone the repo
  2. Install dependencies with npm install
  3. Run Storybook (npm run storybook)
  4. Add or update a component inside src/components
  5. Submit a pull request 🎉

📜 License

MIT © Smartestprep