Skip to content
MoonUIMoonUI
ComponentsTemplatesPricing
Sign inGet started

Getting started

  • Introduction
  • Installation
  • CDN
  • Authentication
  • shadcn CLI
  • MCP Server
  • Usage

Components

Foundation25 components
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Button
  • Button Group
  • Checkbox
  • File Upload
  • Input
  • Kbd
  • Label
  • Radio Group
  • Rating
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle
  • Toggle Group
  • Separator
  • Tags Input
  • Color Picker
  • Date Picker
  • Simple Editor
  • Input OTP
Layout10 components
  • Accordion
  • Breadcrumb
  • Card
  • Carousel
  • Collapsible
  • ResizablePro
  • Scroll Area
  • StepperPro
  • Table
  • Tabs
Navigation & Overlays11 components
  • Alert DialogPro
  • Command
  • Context MenuPro
  • Dialog
  • Dropdown Menu
  • Hover CardPro
  • MenubarPro
  • Pagination
  • Popover
  • SheetPro
  • Tooltip
Feedback4 components
  • Progress
  • Skeleton
  • Spinner
  • Toast
Data & Analytics4 components
  • Data TablePro
  • Advanced ChartPro
  • DashboardPro
  • WidgetsPro
Navigation4 components
  • Command AI+Pro
  • SidebarPro
  • NavbarPro
  • Navigation MenuPro
AI Chat4 components
  • MessagePro
  • Message ScrollerPro
  • AttachmentPro
  • Conversation MarkerPro
Content Management6 components
  • Advanced FormsPro
  • Form WizardPro
  • Quiz FormPro
  • Credit Card InputPro
  • Phone Number InputPro
  • Rich Text EditorPro
Project Management3 components
  • KanbanPro
  • TimelinePro
  • CalendarPro
Performance & Utility8 components
  • Virtual ListPro
  • Memory Efficient DataPro
  • Lazy ComponentPro
  • Optimized ImagePro
  • Performance MonitorPro
  • Performance DebuggerPro
  • Error BoundaryPro
  • Health CheckPro
Interactive & Animation15 components
  • Animated NumberPro
  • Floating DockPro
  • Text RevealPro
  • Image ComparePro
  • Splash CursorPro
  • GitHub StarsPro
  • Animated ButtonPro
  • Magnetic ButtonPro
  • Magnetic ElementsPro
  • Mouse TrailPro
  • Hover Card 3DPro
  • Spotlight CardPro
  • Floating Action ButtonPro
  • LightboxPro
  • Media GalleryPro
Gesture & Touch7 components
  • Swipeable CardPro
  • Draggable ListPro
  • Pinch ZoomPro
  • Swipe ActionsPro
  • Gesture DrawerPro
  • Click AnimationsPro
  • Touch GesturesPro
Text Animations12 components
  • Text HighlighterPro
  • Typewriter TextPro
  • Scrambled TextPro
  • Word RotatePro
  • Morphing TextPro
  • Flip TextPro
  • Number TickerPro
  • Glitch TextPro
  • Shiny TextPro
  • Wavy TextPro
  • Gradient TextPro
  • Text 3DPro
Animations12 components
  • Animated ListPro
  • Bounce EffectPro
  • Blur FadePro
  • Elastic AnimationPro
  • MarqueePro
  • Parallax ScrollPro
  • Reveal CardsPro
  • Scroll RevealPro
  • Fade TransitionsPro
  • Focus TransitionsPro
  • Path AnimationsPro
  • SVG AnimationsPro
Layouts1 components
  • Bento GridPro
Effects9 components
  • ConfettiPro
  • Cursor TrailPro
  • Glow EffectPro
  • Pixel ImagePro
  • Neon EffectPro
  • ShimmerPro
  • RipplePro
  • SparklesPro
  • SpotlightPro
Backgrounds17 components
  • Grid PatternPro
  • MeteorsPro
  • Aurora BackgroundPro
  • ParticlesPro
  • StarfieldPro
  • Dot PatternPro
  • Grid DistortionPro
  • WavesPro
  • Matrix RainPro
  • Liquid BackgroundPro
  • Mesh GradientPro
  • Glitch BackgroundPro
  • Gradient FlowPro
  • Floating ElementsPro
  • Bubble BackgroundPro
  • Geometric PatternsPro
  • Code SnippetsPro
Special UI1 components
  • Glow CardPro
Showcase8 components
  • iPhone MockPro
  • Android MockPro
  • Safari MockPro
  • GlobePro
  • Dotted MapPro
  • Icon CloudPro
  • Tweet CardPro
  • File TreePro

Advanced

  • Theming
  • Customization
  • CLI
  • Help & Support
  1. Docs
  2. Components
  3. Dotted Map

Dotted Map

Pro

A dot-matrix world map rendered as a single inline SVG from static land data — no runtime dependency. Drop in markers by latitude/longitude with optional pulsing glow, all colored from your theme tokens.

Pro features

What the Pro version adds to this component.

  • Dot-Matrix World

    1,657 land dots drawn into a single inline SVG — a crisp, stylized world at any size.

  • Zero Runtime Deps

    Map geometry is static and embedded, so no mapping library is bundled or fetched.

  • Lat/Lng Markers

    Place points by latitude and longitude with an accurate equirectangular projection.

  • Pulsing Glow

    Markers animate a soft halo that automatically stops for reduced-motion users.

  • Token-Colored

    Dots and markers read muted-foreground and primary tokens — light/dark ready out of the box.

  • Fully Responsive

    A w-full, h-auto SVG scales to any container while preserving its aspect ratio.

  • Accessible & SSR-Safe

    Marker labels become <title> tooltips and first render is deterministic for safe hydration.

Installation

Install via CLI

npx @moontra/moonui-cli add dotted-map

Usage

Pro required

Examples

Blank World Map

Pro

Rendered from 1,657 static land dots in a single inline SVG — no runtime map dependency. Dots use the neutral muted-foreground token so the map inherits your theme.

Pro required

Marked Cities

Pro

Pass markers with lat/lng to place points on the map. Each marker's label is rendered as an SVG <title>, so it appears as a native tooltip on hover.

Pro required

Interactive Markers with Popover

Pro

Give a marker content and it becomes clickable: tapping it opens a detail popover above the point (label + your rich content). Handle onMarkerClick to drive your own state — here the selected city is shown below. Escape, an outside click, or tapping the marker again closes the popover.

Pro required

Custom Colors

Pro

Adapt the palette to your brand: dotColor recolors the land dots and markerColor recolors every marker (a marker's own color field can still override per-point). Pass any CSS color — hex, rgb, or an hsl(var(--token)).

Pro required

Static Markers (No Glow)

Pro

Markers pulse by default. Set glow={false} for a calm, static presentation — useful in dense dashboards or when motion would distract.

Pro required

Global Reach Composition

Pro

Compose the map inside real MoonUI components to build a marketing panel — here a Card with a heading, badge, and the dotted map as the hero visual.

Pro required
Previous
Globe
Pro
Next
Icon Cloud
Pro
MoonUIMoonUI

168 React components. 45 free under MIT, 123 Pro.

Unsubscribe anytime.

Product

  • Components
  • Templates
  • Pricing

Resources

  • Documentation
  • GitHub
  • Support

Legal

  • Privacy
  • Terms
  • Refund Policy
Made by Moontra Software
  • X
  • LinkedIn
  • GitHub
  • YouTube