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

@mornox/mornox-buttons

v1.2.8

Published

Configurable, high-quality glassmorphism buttons for React. Built with Tailwind CSS.

Readme

Mornox Buttons

The premium, high-performance glassmorphism button component for React. Designed for modern interfaces that need that extra "pop" without the complexity.

View Live Demo

Features

  • True Glassmorphism: Multi-layered backdrop blur, reflection, and border handling.
  • Configurable Glow: Control the color, blur radius, and opacity of the ambient light.
  • Physics-based Highlights: Internal layers prevent extrusion bugs on rounded corners.
  • Interactive: Hover states for glow intensity, internal shimmer, and scale.
  • Dark Mode Ready: Automatically adapts surface opacity and colors for light/dark themes.

Requirements

This component uses Tailwind CSS for its internal layout structure, but its advanced visual effects (glow, pulse, glass) differ:

  • Visuals: Powered by direct CSS and injected styles. No external tailwind.config.js changes required for animations.
  • Colors: Supports both Tailwind utility classes (e.g. from-indigo-500) AND standard CSS values (e.g. #ff0000, linear-gradient(...)).

Installation

npm install @mornox/mornox-buttons
# or
yarn add @mornox/mornox-buttons

Quick Start

import { MornoxButton } from "@mornox/mornox-buttons";

function App() {
  return (
    <div className="p-10 flex gap-4 bg-gray-900">
      {/* Basic Usage */}
      <MornoxButton>Get Started</MornoxButton>

      {/* Customized */}
      <MornoxButton glowColor="from-emerald-400 to-cyan-500" glowBlur="blur-xl" cornerRadius="rounded-full">
        Success
      </MornoxButton>
    </div>
  );
}

📋 Props

| Prop | Type | Default | Description | | ------------------- | ------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------- | | variant | 'air' \| 'regular' | 'air' | Shorthand to set both Light and Dark variants. | | lightVariant | 'air' \| 'regular' | 'air' | Specific visual style for Light Mode. | | darkVariant | 'air' \| 'regular' | 'air' | Specific visual style for Dark Mode. | | size | 'tiny' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| '2xl' | 'lg' | Button size. | | glowColor | string | 'linear-gradient(...)' | Tailwind classes OR CSS value (#f00, linear-gradient(...)). | | glowBlur | string \| number | 32 | Blur amount in pixels (number) or class (blur-xl). | | glowOpacity | string \| number | 0.4 | Opacity (0-1 number) or class (opacity-40). | | hoverGlowBlur | string \| number | 48 | Blur amount when hovered (px) or class. | | hoverGlowOpacity | string \| number | 0.6 | Opacity when hovered (0-1) or class. | | cornerRadius | number \| string | 16 | Border radius in pixels (number) or CSS string (e.g. "12px"). | | showPulse | boolean | true | Enable/disable the breathing pulse animation. | | pulseDuration | string | '4s' | Duration of the pulse animation. | | borderIntensity | 'subtle' \| 'medium' \| 'ultra' | 'medium' | Strength of the gradient border/reflection. | | highlightOpacity | number | 0.5 | Opacity of the top highlight reflection (0-1). | | shimmerMode | 'none' \| 'hover' \| 'always' | 'hover' | When to show the shimmer effect. | | shimmerDuration | string | '1.5s' | Duration of the shimmer animation. | | shimmerOpacity | number | 0.3 | Opacity of the shimmer effect (0-1). | | contrastThreshold | number | 190 | Luma threshold (0-255) for adaptive text. Below = white text, above = dark text. | | forceTheme | 'light' \| 'dark' | undefined | Force the button to render in a specific theme mode. | | className | string | '' | Additional CSS classes to apply to the button. |

Development

This project uses React and Tailwind CSS.

  1. Install dependencies: npm install
  2. Run local server: npm run start
  3. Build for production: npm run build

License

MIT © Mornox