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

@gfazioli/mantine-scene

v2.2.4

Published

A composable decorative background component for React applications built with Mantine. Layer gradients, glow blobs, dot grids, mesh gradients, noise, star fields, shooting stars, snow, rain, confetti, parallax SVG waves, radar pulses, sweeping beams and

Readme

Mantine Scene Component

NPM version NPM Downloads NPM Downloads NPM License


❤️ 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. It requires Mantine 9.x and React 19.

Mantine Scene is a decorative background container that composes multiple visual layers to create rich, atmospheric backgrounds for your React applications. Place it behind your content and combine sub-components to build anything from subtle gradients to full starfield environments.

Sub-components

| Component | Description | |-----------|-------------| | Scene.Gradient | Radial, linear, or conic gradient with optional rotate/pulse animation | | Scene.Glow | Floating, animated glow blobs with float/pulse/breathe variants | | Scene.DotGrid | Repeating dot pattern with stagger, fade masks, and twinkle animation | | Scene.Mesh | Multi-stop radial gradient overlay simulating a mesh gradient | | Scene.Noise | SVG-based film grain texture with configurable seed, type, and color tint | | Scene.StarField | CSS-only star field with deterministic PRNG positioning and twinkle animation | | Scene.StarWarp | Hyperspace warp-speed effect with configurable focal point and direction | | Scene.ShootingStar | Animated shooting star trails at configurable angles and intervals | | Scene.Snow | Falling snowflakes with horizontal drift and wind control | | Scene.Rain | Angled rain streaks with optional bottom-edge splash effect | | Scene.Confetti | Multi-shape confetti (rectangles, circles, triangles) with continuous or burst (onComplete) modes and configurable origin (top/bottom) | | Scene.Waves | Parallax SVG wave layers with configurable direction, parallax intensity, and seamless horizontal panning | | Scene.Aurora | Shimmering aurora borealis bands with wave animation | | Scene.Radar | Concentric Wi-Fi / radar pulses with arc or circle shape and smart-default origin | | Scene.Beams | Sweeping light columns or rows with cycled colours and configurable corner radius | | Scene.Globe | Interactive 3D dotted globe (powered by cobe — optional peer dep) with markers, arcs (flight paths), drag, inertia, follow-cursor, focus |

Features

  • 🎨 Theme Integration: All color props accept Mantine theme colors (MantineColor)
  • 🧩 Composable: Freely combine any number of sub-components — layer order follows DOM order
  • Rich Animations: GPU-accelerated CSS animations (transform/opacity) with per-component controls
  • 🌍 3D Globe: Interactive WebGL globe with markers, arcs, drag, inertia, and follow-cursor — cobe ships as an optional peer dep so it never weighs on consumers who don't use it
  • 🖱️ Interactive Mode: Enable mouse tracking — Glow, Gradient, StarWarp and Globe react to cursor position with configurable LERP easing. Use onMousePosition to pipe smoothed coordinates to external UI
  • 💤 Lazy Mode: Optional lazy prop pauses every child animation and the internal rAF loop when the scene leaves the viewport (via IntersectionObserver) — zero React re-renders
  • 📱 Responsive Props: Dimension props (size, blur, spacing) use Mantine's native StyleProp<T> with InlineStyles + media queries — zero re-renders on resize, same pattern as SimpleGrid
  • Accessibility: aria-hidden="true" by default; respects prefers-reduced-motion with configurable reducedMotion prop
  • 🖥️ Fullscreen: Set fullscreen to cover the entire viewport with position: fixed
  • 🎨 Styles API: Full Mantine Styles API support for all sub-components
  • 📦 TypeScript: Complete type safety with exported prop interfaces and factory types

[!note]

Demo and DocumentationMore Mantine Components

Installation

npm install @gfazioli/mantine-scene

or

yarn add @gfazioli/mantine-scene

After installation import package styles at the root of your application:

import '@gfazioli/mantine-scene/styles.css';

Usage

import { Scene } from '@gfazioli/mantine-scene';
import { Box, Text } from '@mantine/core';

function Demo() {
  return (
    <Box pos="relative" h={400}>
      <Scene>
        <Scene.StarField count={{ base: 50, md: 100 }} twinkle />
        <Scene.Gradient from="violet" fromOpacity={0.15} />
        <Scene.Glow color="violet" size={400} blur={120} opacity={0.3} top="20%" left="30%" />
        <Scene.DotGrid color="gray" opacity={0.3} spacing={24} />
        <Scene.Noise opacity={0.025} />
      </Scene>
      <Box pos="relative" style={{ zIndex: 1 }} p="xl">
        <Text size="xl" fw={700} c="white">Your content here</Text>
      </Box>
    </Box>
  );
}

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.


Star History Chart