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

@drop-in/graffiti

v4.30.0

Published

A dope package to theme @drop-in

Readme

Graffiti

The standards-first, full-featured CSS library for the modern web.

Install

NPM Package

npm install @drop-in/graffiti

Then import in your project:

// Import everything (default, ~75KB)
import "@drop-in/graffiti";

// Or import only what you need for smaller bundles
import "@drop-in/graffiti/minimal"; // core + utilities (~26KB)
import "@drop-in/graffiti/standard"; // core + utilities + layouts (~33KB)

// Or pick individual modules
import "@drop-in/graffiti/core"; // variables, reset, typography
import "@drop-in/graffiti/utilities"; // helper classes
import "@drop-in/graffiti/layouts"; // page layouts
import "@drop-in/graffiti/components"; // UI components

// Optionally import decks component styles separately
import "@drop-in/graffiti/decks";

// Optionally import aesthetic presets (apply as a class on any container)
import "@drop-in/graffiti/themes"; // all five presets
// or tree-shake to a single preset
import "@drop-in/graffiti/themes/soft-consumer"; // also: editorial, paper, system, neon-arcade

Apply a preset via class on :root, html, or any container element:

<html class="theme-editorial">...</html>

<section class="theme-brutalist">...</section>

Copy & Paste

Download the CSS file directly:

https://raw.githubusercontent.com/stolinski/graffiti/refs/heads/main/src/lib/drop-in.css

CLI Tool

npx @drop-in/graffiti

This copies drop-in.css to your src/ folder.

Features

  • Fluid Typography: Automatically scales between min/max viewport sizes using clamp() and pow()
  • Container Queries: Typography can respond to container width with .fc class
  • OKLCH Color System: Perceptually uniform colors with automatic 1-9 scales using relative color syntax
  • Auto Dark Mode: Uses light-dark() with color-scheme for automatic theming
  • CSS Scroll-Snap Layouts: Carousel and reel patterns with no JavaScript required
  • Form Validation States: Built-in error, success, and warning styles
  • Modern Layout Patterns: Cluster, carousel, reel, holy grail, and more
  • Design Tokens: Comprehensive spacing, shadows, colors, line heights, and easing functions
  • Logical Properties: Full RTL/LTR support throughout
  • Minimal & Composable: Small footprint, mix and match classes
  • Modular Architecture: Optional separate import for @drop-in/decks component styles

Browser Support

Graffiti uses modern CSS features and requires recent browser versions:

Minimum versions:

  • Chrome 123+ (March 2024)
  • Safari 17.5+ (May 2024)
  • Firefox 128+ (July 2024)
  • Edge 123+ (March 2024)

Key features requiring modern browsers:

  • OKLCH color space with relative color syntax
  • light-dark() function for automatic theming
  • Container queries for responsive typography
  • linear() easing functions
  • Logical properties for RTL/LTR support

Documentation

Full documentation: https://graffiti-ui.com/

License

ISC