Molten Core

Additive thermal particles creating glowing lava effect.

Main Features of Molten Core

How to Use Molten Core in Next.js

Installation Guide for Molten Core

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
stringbg-zinc-950Background color of the component
title
stringMolten CoreTitle text displayed
buttonText
stringHover MeText on the hover button
particlesPerFrame
number3Number of particles spawned per frame
velocityThreshold
number0.5Velocity threshold for particle spawning
lifeDecay
number0.02Particle life decay rate
sizeDecay
number0.95Particle size decay rate
className
stringAdditional CSS classes

When to Use

Ideal for high-energy tech brands, gaming platforms, and experimental Next.js landing pages. This customizable UI component is perfect for creating a 'hot' or 'active' focal point that follows the user's cursor with an additive glow effect.

Best Practices

Follow React best practices by ensuring the `particlesPerFrame` counts are optimized for standard 60fps refresh rates. Maintain consistent spacing within your design system by adjusting the `velocityThreshold` to match the expected scroll and move speed of your users. Optimize for performance by keeping particle `lifeDecay` values relatively high.

Why This Component Matters in Modern UI Development

Thermal and glowing effects add a level of visual weight that is hard to achieve with static elements. This reusable React component gives developers a robust way to implement complex particle blending, helping you build a real-world application architecture that feels dynamic and high-performance.

Frequently Asked Questions

QDoes it support custom shapes?

The current implementation uses circular additive particles, which are the most efficient for creating a soft 'molten' glow.

QIs the glow effect adjustable?

Yes, by adjusting the `particlesPerFrame` and `sizeDecay`, you can create anything from a subtle ember trail to a massive solar flare.

QCan I use it on buttons?

Absolutely! The component is designed to be scoped or global, and works perfectly as a hover-triggered effect for high-impact buttons.

Molten Core - React Magnetic Cursor & Hover Effects | Uilora