Uilora
ComponentsBlogMCPPricing
Search components ⌘K
Web
App
Favorites
Close sidebar
Join

Menu

ComponentsBlogMCPPricingShowcaseAboutHelp
Web
App

Get Started

IntroductionInstallationGetting StartedComponentsTheme ManagerTemplatesMCPWhy Uilora?

Crazy Components

404 PageDig HoleImage SliderFlower AnimationImage Trail EffectLiquid RevealPrismRussian WebsiteSketchy LineSlider PageNeon RibbonGrid Distortion

Core Landing Pages

Hero Sections10+
Complete Landing Pages21+
Startup Landing9+
SaaS Dashboards15+
Agency Portfolio21+
Auth6+

Backgrounds & Visuals

Backgrounds23+
Gradient Packs9+
Blurred Backgrounds9+
Pattern Backgrounds5+
Noise Textures6+

Navigation & Structure

Navbar6+
Footers12+
Mega Menus21+
Chat UI11+

UI Components

Forms23+
Buttons4+
Cards11+
Toasts8+
File Uploads8+
Modals & Design8+

Grids & Layouts

Bento Grids8+
Feature Grids11+
Gallery Grids17+
Masonry Grids12+

Media

Image Galleries10+
Lightboxes13+
Video Players5+
Testimonials Media11+

Content Blocks

Feature Sections8+
Testimonials20+
Stats Sections9+
Pricing18+
FAQ16+
Timeline8+
Pagination10+

Animations & Motion

Skeletons Loader5+
Parallax Scroll6+
Scroll Reveals14+
Text Animations12+
Magnetic Cursor7+
3D Transforms4+

Special Elements

Accordions9+
Tabs6+
Carousels9+
Badges5+
Avatars4+
Breadcrumbs4+
Selector5+
Tables13+
Sign In
Uilora

Main Navigation

ComponentsBlogMCPPricing

Environment

Get Started

IntroductionInstallationGetting StartedComponentsTheme ManagerTemplatesMCPWhy Uilora?

Crazy Components

404 PageDig HoleImage SliderFlower AnimationImage Trail EffectLiquid RevealPrismRussian WebsiteSketchy LineSlider PageNeon RibbonGrid Distortion

Core Landing Pages

Hero Sections10+
Complete Landing Pages21+
Startup Landing9+
SaaS Dashboards15+
Agency Portfolio21+
Auth6+

Backgrounds & Visuals

Backgrounds23+
Gradient Packs9+
Blurred Backgrounds9+
Pattern Backgrounds5+
Noise Textures6+

Navigation & Structure

Navbar6+
Footers12+
Mega Menus21+
Chat UI11+

UI Components

Forms23+
Buttons4+
Cards11+
Toasts8+
File Uploads8+
Modals & Design8+

Grids & Layouts

Bento Grids8+
Feature Grids11+
Gallery Grids17+
Masonry Grids12+

Media

Image Galleries10+
Lightboxes13+
Video Players5+
Testimonials Media11+

Content Blocks

Feature Sections8+
Testimonials20+
Stats Sections9+
Pricing18+
FAQ16+
Timeline8+
Pagination10+

Animations & Motion

Skeletons Loader5+
Parallax Scroll6+
Scroll Reveals14+
Text Animations12+
Magnetic Cursor7+
3D Transforms4+

Special Elements

Accordions9+
Tabs6+
Carousels9+
Badges5+
Avatars4+
Breadcrumbs4+
Selector5+
Tables13+
Join Uilora Community
ComponentsBackgrounds & Visuals

Reactive Dot Matrix

Free

Interactive canvas-based dot matrix that responds to mouse movement.

Refresh preview
Share Component
Copy CLI command

Reactive Dot Matrix

Props

backgroundColorstring

Background color

Default: #09090b

dotColorstring

Dot color

Default: #3b82f6

dotBaseRadiusnumber

Base radius of dots

Default: 1.5

spacingnumber

Spacing between dots

Default: 30

interactionDistancenumber

Mouse interaction distance

Default: 200

interactionStrengthnumber

Interaction strength

Default: 40

classNamestring

Additional CSS classes

When to use

Ideal for tech-focused landing pages, developer tools, and Next.js sites that want a subtle, interactive pattern. Use this React component for a canvas-based dot matrix that responds elegantly to user mouse movements.

Best practices

Maintain consistent spacing within your design system by adjusting the `spacing` and `dotBaseRadius` to match your layout density. Follow React best practices by pairing it with dark-mode themes. Optimize for performance by using the high-performance Canvas API for rendering the hundreds of reactive dots.

Why it matters

Interactive backgrounds improve user engagement and create a premium, 'custom-built' feel. This production-ready component helps build an interface that feels alive and responsive to human input, adding a layer of technical polish to your project.

Frequently asked questions

How does the interaction work?

Dots within the `interactionDistance` of the mouse cursor are repelled and increased in size based on the `interactionStrength` prop.

Is it high-performance?

Yes, it uses a highly optimized Canvas rendering loop with `requestAnimationFrame`, ensuring smooth 60fps interaction even with thousands of dots.

Can I change the dot colors?

Yes, you can customize the `dotColor` and `backgroundColor` to match any brand identity or UI theme.
PreviousUilora Vector GridNextUilora Biolume Grain

Related components

  • Interstellar Fluid HeroInteractive fluid simulation creating cosmic nebula effects with mouse interaction. Deep space aesthetic with animated gas clouds and star trails.
  • Interstellar Background HeroWarp tunnel effect simulating high-velocity travel through nebular clusters. Procedural WebGL engine with mouse-responsive space distortion.
  • Liquid Chrome HeroProcedural simulation of molten chrome alloys with velocity-based distortion. Interactive liquid metal surface with specular highlights.

Unlock the full library with one payment.

Contribute FeedbackCompare plans
Uilora

A curated collection of high-fidelity components designed to build modern web interfaces with speed and precision.

Contact

support@uilora.comGitHub
Product Hunt
Featured onProduct Hunt

Web Library

  • Web Components
  • Documentation
  • Pricing
  • MCP Server

App Library

  • Mobile Components
  • Platform Notes
  • Installation

Resources

  • Showcase
  • Blog
  • FAQ
  • Contribute
  • GitHub

Support

  • About Us
  • Help Center
  • Feedback
  • Privacy Policy
  • Terms of Service

© 2026 Uilora UI. All rights reserved.

PrivacyTermsFeedback
Made withbynitin14gupta