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 🙏

© 2025 – Pkg Stats / Ryan Hefner

tailwindcss-claymorphism

v0.11.1

Published

Tailwind CSS plugin to generate claymorphism style utilities

Readme

tailwindcss-claymorphism

Add claymorphism style classes to your Tailwind CSS project.

This plugin is inspired by clay.css.

Background

Claymorphism is a fresh new concept. The name was coined by Michał Malewicz and the designers are excited to explore the possibilities of this approach to UI design.

It features inflated fluffy 3D elements which look charming and introduce a much more vibrant look compared to the usual flat designs.

What sets claymorphism apart from neumorphism is that it floats above the background instead of being connected to it, eliminating accessibility issues and design restrictions of the latter.

Install

With PNPM:

pnpm add -D tailwindcss-claymorphism

Then load the plugin:

// tailwind.config.cjs
module.exports = {
  content: [/* ... */],
  plugins: [require("tailwindcss-claymorphism")],
};

Usage

To achieve claymorphism, you need to craft the following properties:

  • background-color
  • box-shadow
  • border-radius

The plugin provides utilities classes clay-<boxShadowSize>-<backgroundColor> setting box-shadow and background-color for you:

<div class="bg-amber-300 py-10 font-sans">
  <div
    class="p-10 text-5xl leading-tight text-white w-max mx-auto clay-md-red"
  >
    <p>
      Say hello to <br />
      <span class="font-semibold">Claymorphism</span>
    </p>
    <a
      href="https://github.com/dulltackle/tailwindcss-claymorphism"
      target="_blank"
      rel="noreferrer"
      class="block w-max mx-auto mt-4 px-4 py-2 text-3xl clay-sm-orange"
      >Hi 👋🏻</a
    >
  </div>
</div>

Basic

Then all you need to do is crafting the round corner with build-in utilities class rounded(to make the element look like Squircle):

<div class="bg-amber-300 py-10 font-sans">
  <div
    class="p-10 text-5xl leading-tight text-white w-max mx-auto clay-md-red rounded-3xl"
  >
    <p>
      Say hello to <br />
      <span class="font-semibold">Claymorphism</span>
    </p>
    <a
      href="https://github.com/dulltackle/tailwindcss-claymorphism"
      target="_blank"
      rel="noreferrer"
      class="block w-max mx-auto mt-4 px-4 py-2 text-3xl clay-sm-orange rounded-xl"
      >Hi 👋🏻</a
    >
  </div>
</div>

Rounded

Color Palettes

color-palettes

| utility class | background-color | | :-----------------------------------: | :-------------------------------------------------------------------------------------------------------------------------: | | clay-sm-red / clay-md-red | #f87171 #f87171 | | clay-sm-orange / clay-md-orange | #fb923c #fb923c | | clay-sm-yellow / clay-md-yellow | #facc15 #facc15 | | clay-sm-green / clay-md-green | #4ade80 #4ade80 | | clay-sm-emerald / clay-md-emerald | #34d399 #34d399 | | clay-sm-teal / clay-md-teal | #2dd4bf #2dd4bf | | clay-sm-cyan / clay-md-cyan | #22d3ee #22d3ee | | clay-sm-sky / clay-md-sky | #38bdf8 #38bdf8 | | clay-sm-blue / clay-md-blue | #60a5fa #60a5fa | | clay-sm-indigo / clay-md-indigo | #818cf8 #818cf8 | | clay-sm-violet / clay-md-violet | #a78bfa #a78bfa | | clay-sm-purple / clay-md-purple | #c084fc #c084fc | | clay-sm-fuchsia / clay-md-fuchsia | #e879f9 #e879f9 | | clay-sm-pink / clay-md-pink | #f472b6 #f472b6 | | clay-sm-rose / clay-md-rose | #fb7185 #fb7185 | | clay-sm-lime / clay-md-lime | #a3e635 #a3e635 | | clay-sm-amber / clay-md-amber | #fbbf24 #fbbf24 | | clay-sm-slate / clay-md-slate | #94a3b8 #94a3b8 | | clay-sm-gray / clay-md-gray | #9ca3af #9ca3af | | clay-sm-zinc / clay-md-zinc | #a1a1aa #a1a1aa | | clay-sm-neutral / clay-md-neutral | #a3a3a3 #a3a3a3 | | clay-sm-stone / clay-md-stone | #a8a29e #a8a29e |

License

MIT License © 2022-Present dulltackle