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

@muxima-ui/button

v1.0.0

Published

Modern button component with variants and sizes for Angular 18+ - Muxima UI

Downloads

85

Readme

Muxima Button

Modern and versatile button component for Angular with multiple variants and hover effects.

Features

  • 12 built-in variants (primary, secondary, danger, success, warning, info, gradient, purple, glass, outline, ghost, neon)
  • 5 hover effect options (shadow, gradient, lift, scale, none)
  • SVG icon support via content projection
  • Image icon support
  • 5 size options (sm, md, lg, xl, 2xl)
  • Fully customizable

Installation

import { ButtonComponent } from '@muxima/button';

Usage

Basic Button

<muxima-button text="Click Me" variant="primary"></muxima-button>

Button with Icon (SVG)

<muxima-button 
  text="Add User" 
  variant="purple"
  [iconSvg]="true"
  hoverEffect="shadow">
  <svg slot="icon-left" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
    <path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
    <circle cx="8.5" cy="7" r="4"></circle>
  </svg>
</muxima-button>

Button with Image Icon

<muxima-button 
  text="Settings" 
  variant="secondary"
  icon="/assets/settings-icon.png">
</muxima-button>

Hover Effects

shadow (default)

Subtle lift with purple shadow - Perfect for primary actions

<muxima-button text="Button" hoverEffect="shadow"></muxima-button>

Effect: translateY(-2px) + box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4)

gradient

Gradient background animation - Great for call-to-action buttons

<muxima-button text="Button" hoverEffect="gradient"></muxima-button>

Effect: Background position shift + shadow

lift

More pronounced lift effect - Good for standalone buttons

<muxima-button text="Button" hoverEffect="lift"></muxima-button>

Effect: translateY(-4px) + larger shadow

scale

Scale up with shadow - Modern feel

<muxima-button text="Button" hoverEffect="scale"></muxima-button>

Effect: scale(1.05) + shadow

none

No hover effect - For disabled-looking or minimal design

<muxima-button text="Button" hoverEffect="none"></muxima-button>

Variants

  • primary: Blue gradient (default)
  • secondary: Gray gradient
  • danger: Red gradient
  • success: Green gradient
  • warning: Orange gradient
  • info: Cyan gradient
  • gradient: Purple gradient with shimmer effect
  • purple: Dashboard-style purple gradient
  • glass: Glassmorphism effect
  • outline: Transparent with border
  • ghost: Minimal style
  • neon: Neon glow effect

Properties

| Property | Type | Default | Description | |----------|------|---------|-------------| | text | string | - | Button text | | variant | string | 'primary' | Button style variant | | size | string | 'lg' | Button size (sm, md, lg, xl, 2xl) | | hoverEffect | string | 'shadow' | Hover animation type | | disabled | boolean | false | Disabled state | | type | string | 'submit' | HTML button type | | icon | string | - | Image icon URL | | iconSvg | boolean | false | Enable SVG icon via ng-content | | iconPosition | string | 'left' | Icon position (left, right) | | wFull | boolean | false | Full width button |

Examples

Dashboard-style Button

<muxima-button 
  text="Add New User" 
  variant="purple"
  hoverEffect="shadow"
  [iconSvg]="true">
  <svg slot="icon-left" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
    <circle cx="12" cy="12" r="10"></circle>
    <line x1="12" y1="8" x2="12" y2="16"></line>
    <line x1="8" y1="12" x2="16" y2="12"></line>
  </svg>
</muxima-button>

Gradient Animated Button

<muxima-button 
  text="Start Now" 
  variant="gradient"
  hoverEffect="gradient"
  size="xl">
</muxima-button>

Glass Effect Button

<muxima-button 
  text="Learn More" 
  variant="glass"
  hoverEffect="lift">
</muxima-button>

Running unit tests

Run nx test button to execute the unit tests.