Pricing

Dotted Map

A component with a dotted map.

931

Bookmarks

3,131

Installs

85,731

Views

91 lines
"use client"

import * as React from "react"
import type { TCountryCode } from "countries-list"

import { DottedMap } from "@/components/ui/dotted-map"
import type { Marker } from "@/components/ui/dotted-map"

type CountryCode = Lowercase<TCountryCode>

type MyMarker = Marker & {
  overlay: {
    countryCode: CountryCode
    label: string
  }
}

75 more lines behind a plan

Previews are free to watch. Reading and copying the full source needs a plan.

See plans
Dependencies
countries-listsvg-dotted-map
License
MIT License
Published
1/21/2025
Categories

Similar components

That's all 6 components

Explore more

Part of Magic UI — browse the full library on Nuxus.