{"id":47453583,"url":"https://gfazioli.github.io/mantine-scene/","last_synced_at":"2026-04-07T02:01:19.984Z","repository":{"id":344407677,"uuid":"1179546432","full_name":"gfazioli/mantine-scene","owner":"gfazioli","description":"A composable decorative background system for Mantine with gradients, particles, noise, and interactive effects.","archived":false,"fork":false,"pushed_at":"2026-04-03T16:08:08.000Z","size":7656,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-04T14:10:33.589Z","etag":null,"topics":["animation","aurora","background","css-animation","decorative-background","extension","gradient","mantine","mantine-component","mantine-ui","mantine-v9","noise-texture","particles","react","react-component","starfield","typescript","visual-effects"],"latest_commit_sha":null,"homepage":"https://gfazioli.github.io/mantine-scene/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfazioli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["gfazioli"]}},"created_at":"2026-03-12T06:08:55.000Z","updated_at":"2026-04-03T16:07:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c02f6ee7-62ce-495a-a3a1-2387129337b2","html_url":"https://github.com/gfazioli/mantine-scene","commit_stats":null,"previous_names":["gfazioli/mantine-scene"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gfazioli/mantine-scene","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-scene","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-scene/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-scene/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-scene/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfazioli","download_url":"https://codeload.github.com/gfazioli/mantine-scene/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-scene/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31496769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"online","status_checked_at":"2026-04-07T02:00:07.164Z","response_time":105,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","aurora","background","css-animation","decorative-background","extension","gradient","mantine","mantine-component","mantine-ui","mantine-v9","noise-texture","particles","react","react-component","starfield","typescript","visual-effects"],"created_at":"2026-03-23T18:00:30.784Z","updated_at":"2026-04-07T02:01:19.976Z","avatar_url":"https://github.com/gfazioli.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gfazioli","https://github.com/sponsors/gfazioli?o=esc"],"categories":["Libraries"],"sub_categories":[],"readme":"# Mantine Scene Component\n\n\u003cimg alt=\"Mantine Scene\" src=\"https://github.com/gfazioli/mantine-scene/blob/master/logo.jpeg\" /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-scene?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-scene)\n  [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-scene?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-scene)\n  [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-scene?style=for-the-badge\u0026label=%20\u0026color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-scene)\n  ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-scene?style=for-the-badge)\n\n---\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\n## Overview\n\nThis component is created on top of the [Mantine](https://mantine.dev/) library.\nIt requires **Mantine 9.x** and **React 19**.\n\n[Mantine Scene](https://gfazioli.github.io/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.\n\n## Sub-components\n\n| Component | Description |\n|-----------|-------------|\n| `Scene.Gradient` | Radial, linear, or conic gradient with optional rotate/pulse animation |\n| `Scene.Glow` | Floating, animated glow blobs with float/pulse/breathe variants |\n| `Scene.DotGrid` | Repeating dot pattern with stagger, fade masks, and twinkle animation |\n| `Scene.Mesh` | Multi-stop radial gradient overlay simulating a mesh gradient |\n| `Scene.Noise` | SVG-based film grain texture with configurable seed, type, and color tint |\n| `Scene.StarField` | CSS-only star field with deterministic PRNG positioning and twinkle animation |\n| `Scene.StarWarp` | Hyperspace warp-speed effect with configurable focal point and direction |\n| `Scene.ShootingStar` | Animated shooting star trails at configurable angles and intervals |\n| `Scene.Snow` | Falling snowflakes with horizontal drift and wind control |\n| `Scene.Aurora` | Shimmering aurora borealis bands with wave animation |\n\n## Features\n\n- 🎨 **Theme Integration**: All color props accept Mantine theme colors (`MantineColor`)\n- 🧩 **Composable**: Freely combine any number of sub-components — layer order follows DOM order\n- ✨ **Rich Animations**: GPU-accelerated CSS animations (transform/opacity) with per-component controls\n- 🖱️ **Interactive Mode**: Enable mouse tracking — Glow, Gradient, and StarWarp react to cursor position with configurable LERP easing\n- 📱 **Responsive Props**: Key props (`count`, `size`, `blur`, `spacing`) accept Mantine responsive objects like `{ base: 50, md: 100 }`\n- ♿ **Accessibility**: `aria-hidden=\"true\"` by default; respects `prefers-reduced-motion` with configurable `reducedMotion` prop\n- 🖥️ **Fullscreen**: Set `fullscreen` to cover the entire viewport with `position: fixed`\n- 🎨 **Styles API**: Full Mantine Styles API support for all sub-components\n- 📦 **TypeScript**: Complete type safety with exported prop interfaces and factory types\n\n\u003e [!note]\n\u003e\n\u003e → [Demo and Documentation](https://gfazioli.github.io/mantine-scene/) → [More Mantine Components](https://mantine-extensions.vercel.app/)\n\n## Installation\n\n```sh\nnpm install @gfazioli/mantine-scene\n```\nor\n\n```sh\nyarn add @gfazioli/mantine-scene\n```\n\nAfter installation import package styles at the root of your application:\n\n```tsx\nimport '@gfazioli/mantine-scene/styles.css';\n```\n\n## Usage\n\n```tsx\nimport { Scene } from '@gfazioli/mantine-scene';\nimport { Box, Text } from '@mantine/core';\n\nfunction Demo() {\n  return (\n    \u003cBox pos=\"relative\" h={400}\u003e\n      \u003cScene\u003e\n        \u003cScene.StarField count={{ base: 50, md: 100 }} twinkle /\u003e\n        \u003cScene.Gradient from=\"violet\" fromOpacity={0.15} /\u003e\n        \u003cScene.Glow color=\"violet\" size={400} blur={120} opacity={0.3} top=\"20%\" left=\"30%\" /\u003e\n        \u003cScene.DotGrid color=\"gray\" opacity={0.3} spacing={24} /\u003e\n        \u003cScene.Noise opacity={0.025} /\u003e\n      \u003c/Scene\u003e\n      \u003cBox pos=\"relative\" style={{ zIndex: 1 }} p=\"xl\"\u003e\n        \u003cText size=\"xl\" fw={700} c=\"white\"\u003eYour content here\u003c/Text\u003e\n      \u003c/Box\u003e\n    \u003c/Box\u003e\n  );\n}\n```\n\n## Sponsor\n\n\u003cdiv align=\"center\"\u003e\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\nYour support helps me:\n\n- Keep the project actively maintained with timely bug fixes and security updates\n- Add new features, improve performance, and refine the developer experience\n- Expand test coverage and documentation for smoother adoption\n- Ensure long‑term sustainability without relying on ad hoc free time\n- Prioritize community requests and roadmap items that matter most\n\nOpen 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.\n\nYour help truly matters.\n\n💚 [Become a sponsor](https://github.com/sponsors/gfazioli?o=esc) today and help me keep this project reliable, up‑to‑date, and growing for everyone.\n\n---\n\n[![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-scene\u0026type=Timeline)](https://www.star-history.com/#gfazioli/mantine-scene\u0026Timeline)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gfazioli.github.io%2Fmantine-scene%2F","html_url":"https://awesome.ecosyste.ms/projects/gfazioli.github.io%2Fmantine-scene%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gfazioli.github.io%2Fmantine-scene%2F/lists"}