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

intentcss

v1.0.1

Published

Describe the UI. Get the CSS.

Readme

IntentCSS

Describe the UI. Get the CSS.

IntentCSS is a developer-first CLI that converts natural language into Tailwind CSS classes or plain CSS.

Instead of searching documentation, copying snippets, or manually composing utility classes, describe what you want:

intentcss generate --prompt "large red button"

and get:

rounded-lg bg-red-600 px-6 py-3 text-lg text-white hover:bg-red-700

Features

Natural Language CSS

intentcss generate --prompt "glass login form"

Output:

flex flex-col gap-4 backdrop-blur-md bg-white/30 border border-white/20 rounded-xl shadow-md p-6 space-y-2

Typo Correction

IntentCSS automatically fixes common mistakes.

intentcss generate --prompt "gren buton"

Output:

rounded-lg bg-green-600 px-4 py-2 text-white hover:bg-green-700

NLP Powered

IntentCSS extracts meaningful words from prompts and ignores unnecessary filler.

intentcss generate --prompt "make me a beautiful blue button"

Output:

rounded-lg bg-blue-600 px-4 py-2 text-white hover:bg-blue-700

Confidence Scoring

Unknown prompts are rejected safely.

intentcss generate --prompt "glorp wazzoo"

Output:

Could not confidently understand that prompt.

Installation

Global Installation

npm install -g intentcss

Local Installation

npm install intentcss

Usage

Generate Tailwind CSS

intentcss generate --prompt "red button"

Generate Plain CSS

intentcss generate \
  --prompt "red button" \
  --target css

Help

intentcss --help

Supported Components

Button

intentcss generate --prompt "large shadow red button"

Card

intentcss generate --prompt "glass card"

Navbar

intentcss generate --prompt "sticky dark navbar"

Form

intentcss generate --prompt "responsive login form"

Modal

intentcss generate --prompt "glass modal"

Sidebar

intentcss generate --prompt "dark compact sidebar"

Hero

intentcss generate --prompt "dark large hero"

Footer

intentcss generate --prompt "large blue footer"

Supported Modifiers

Colors

blue
red
green
purple
black
white

Sizes

small
large
compact

Styles

glass
shadow
rounded
pill
outline
sticky
centered
responsive
minimal

Examples

Button

Input:

large rounded shadow purple button

Output:

rounded-xl shadow-md bg-purple-600 px-6 py-3 text-lg text-white hover:bg-purple-700

Form

Input:

glass centered login form

Output:

mx-auto flex flex-col gap-4 backdrop-blur-md bg-white/30 border border-white/20 rounded-xl shadow-md p-6 space-y-2

Hero

Input:

dark large hero

Output:

text-center py-32 px-12 bg-gray-900 text-white

Testing

Run all tests:

npm run test

Current test coverage includes:

  • Button generation
  • Typo correction
  • Engine integration

Development

Install dependencies:

npm install

Run in development mode:

npm run dev -- generate --prompt "red button"

Run tests:

npm run test

Build:

npm run build

Roadmap

Version 1.0

  • Natural language generation
  • Tailwind output
  • CSS output
  • Typo correction
  • NLP support
  • Confidence scoring
  • Component intent system

Future Versions

  • React component generation
  • Vue component generation
  • Layout generation
  • Theme generation
  • Design system support
  • AI-assisted intent suggestions

Contributing

By contributing to IntentCSS, you agree to follow the project's Code of Conduct.

See CODE_OF_CONDUCT.md.


License

IntentCSS is licensed under the Apache License 2.0.

See LICENSE for details.


Made for developers who think in intent, not utility classes.