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

@cubealabs/cube-ui

v1.0.0

Published

⚡ Generate UI components with automatic framework detection for Next.js, React, Vue, Angular, Svelte & more

Readme

@cubealabs/cube-ui

Generate UI components with automatic framework detection

Stop writing boilerplate. Generate production-ready components for Next.js, React, Vue, Angular, Svelte, and more with proper TypeScript, styling, and accessibility.

Features

  • Auto Framework Detection: Detects Next.js, React, Vue, Angular, Svelte
  • TypeScript First: Proper types and interfaces
  • Responsive: Mobile-first with Tailwind breakpoints
  • Dark Mode: Built-in dark mode support
  • Animations: Card lifts, expanding underlines, fades
  • Loading States: Skeletons, shimmers, spinners
  • Accessible: ARIA labels, keyboard navigation
  • Design System: Cube A Labs minimalist design

Installation

npm install @cubealabs/cube-ui

Usage with Claude Code

This is a Claude Code skill. Install it and use with:

/cube-ui

Follow the interactive prompts to generate components.

What You Can Generate

Components

  • Cards (product, user, content)
  • Buttons (primary, secondary, ghost)
  • Forms (inputs, validation, submit)
  • Modals & Dialogs
  • Navigation (header, sidebar, tabs)
  • Data Display (tables, lists, grids)

Pages

  • Landing pages
  • Dashboard layouts
  • Listing pages with filters
  • Detail pages
  • Admin panels

Presets

  • Marketplace Card
  • Admin Data Table
  • Form Layout

Supported Frameworks

  • Next.js (App & Pages Router)
  • React (Vite, CRA)
  • Angular (Standalone Components)
  • Vue 3 (Composition API)
  • Svelte / SvelteKit
  • Astro
  • Plain HTML/CSS/JS

Supported Styling

  • Tailwind CSS (preferred)
  • CSS Modules
  • SCSS/Sass
  • Styled Components
  • Emotion
  • Plain CSS

Example Output

Next.js Component:

import Image from 'next/image';
import type { ProductCardProps } from './ProductCard.types';

export const ProductCard = ({ product }: ProductCardProps) => {
  return (
    <article className="card-lift bg-white rounded-lg overflow-hidden">
      <Image src={product.image} alt={product.name} fill />
      <h3 className="text-xl font-bold">{product.name}</h3>
    </article>
  );
};

Complete with TypeScript types, tests, and framework-specific patterns.

Design System

Uses Cube A Labs minimalist design:

  • Primary: #111111
  • Secondary: #444444
  • Subtle: #FAFAFA
  • Borders: #DADADA

With smooth animations and clean typography.

License

MIT © Cube A Labs

More Skills

Check out other Cube A Labs skills: