@gfazioli/mantine-led
v1.0.1
Published
A highly customizable LED indicator component for React applications built with Mantine. Provides visual feedback for status indicators with support for colors, sizes, animations, and controlled states.
Maintainers
Readme
Mantine Led Component
❤️ If this component has been useful to you or your team, please consider becoming a sponsor
Overview
This component is created on top of the Mantine library.
The Mantine Led component is a highly customizable LED indicator for React applications built with Mantine. It provides visual feedback for status indicators, notifications, and interactive elements with support for various colors, sizes, animations, and states.
Features
- 🎨 Theme Integration: Full Mantine theme support with all theme colors
- 📐 Flexible Sizing: Supports all Mantine sizes plus custom values
- ✨ Rich Animations: Multiple animation types (pulse, flash, breathe, blink, glow)
- 🎭 Visual Variants: Flat and 3D rendering styles
- 🏷️ Label Support: Optional labels with configurable positioning
- 🎛️ Controlled State: Full control over the LED on/off state
- ♿ Accessibility: Follows WAI-ARIA best practices
- 🎨 Styles API: Extensive styling customization support
- 📦 TypeScript: Full type safety out of the box
[!note]
→ Demo and Documentation → Youtube Video → More Mantine Components
Installation
npm install @gfazioli/mantine-ledor
yarn add @gfazioli/mantine-ledAfter installation import package styles at the root of your application:
import '@gfazioli/mantine-led/styles.css';Usage
import { Led } from '@gfazioli/mantine-led';
function Demo() {
return <Led />;
}Sponsor
❤️ If this component has been useful to you or your team, please consider becoming a sponsor
Your support helps me:
- Keep the project actively maintained with timely bug fixes and security updates
- Add new features, improve performance, and refine the developer experience
- Expand test coverage and documentation for smoother adoption
- Ensure long‑term sustainability without relying on ad hoc free time
- Prioritize community requests and roadmap items that matter most
Open source thrives when those who benefit can give back—even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.
Your help truly matters.
💚 Become a sponsor today and help me keep this project reliable, up‑to‑date, and growing for everyone.
