BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Manifest UI/map-carousel

Map Carousel

manifest-ui/map-carousel
FreeBlock

Interactive map with location markers and a draggable carousel of cards.

Install it

npx shadcn@latest add https://ui.manifest.build/r/map-carousel.json

Source

registry/map/map-carousel.tsxui.manifest.build/r/map-carousel.json · first 6 KB
1'use client'
2
3import { Button } from '@/components/ui/button'
4import { Checkbox } from '@/components/ui/checkbox'
5import { cn } from '@/lib/utils'
6import { ChevronDown, MapPin, Maximize2, SlidersHorizontal, X } from 'lucide-react'
7import { useCallback, useEffect, useRef, useState } from 'react'
8import { demoMapLocations, demoMapCenter, demoMapZoom } from './demo/map'
9
10/**
11 * Represents a location/hotel to display on the map.
12 * @interface Location
13 * @property {string} [name] - Location name
14 * @property {string} [subtitle] - Subtitle (e.g., neighborhood)
15 * @property {string} [image] - Location image URL
16 * @property {number} [price] - Price value
17 * @property {string} [priceLabel] - Full price text (e.g., "$284 total Jan 29 - Feb 1")
18 * @property {string} [priceSubtext] - Additional price info (e.g., "USD • Includes taxes")
19 * @property {number} [rating] - Rating value (e.g., 8.6)
20 * @property {[number, number]} coordinates - Lat/lng coordinates
21 * @property {string} [link] - External link URL
22 */
23export interface Location {
24 name?: string
25 subtitle?: string
26 image?: string
27 price?: number
28 priceLabel?: string
29 priceSubtext?: string
30 rating?: number
31 coordinates: [number, number] // [lat, lng]
32 link?: string
33}
34
35/**
36 * Available map tile styles.
37 * @typedef {"voyager" | "voyager-smooth" | "positron" | "dark-matter" | "openstreetmap"} MapStyle
38 */
39export type MapStyle =
40 | 'voyager'
41 | 'voyager-smooth'
42 | 'positron'
43 | 'dark-matter'
44 | 'openstreetmap'
45
46// Filter configuration for fullscreen variant
47/**
48 * Configuration for a single filter section.
49 * @interface FilterSectionConfig
50 */
51export interface FilterSectionConfig {
52 /** Unique identifier for this filter (used in filter state). */
53 id: string
54 /** Display title for the filter section. */
55 title: string
56 /** Available options for this filter. */
57 options: string[]
58 /**
59 * Function to check if a location matches the selected filter values.
60 * @param location - The location to check
61 * @param selectedValues - Currently selected filter values
62 * @returns true if location matches, false otherwise
63 */
64 matchFn?: (location: Location, selectedValues: string[]) => boolean
65}
66
67/** State tracking selected values for each filter by id. */
68export type FilterState = Record<string, string[]>
69
70const createEmptyFilterState = (filters: FilterSectionConfig[]): FilterState => {
71 return filters.reduce((acc, filter) => {
72 acc[filter.id] = []
73 return acc
74 }, {} as FilterState)
75}
76
77// … truncated

What it pulls in

npm packages

  • lucide-react
  • leaflet

Other registry items

  • button
  • checkbox

Files it writes

  • registry/map/map-carousel.tsx
  • registry/map/demo/map.ts

Facts

Registry
Manifest UI
Type
registry:block
Access
Free
Files written
2
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

ui.manifest.build Raw registry item This item as JSON

More from Manifest UI

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Amount Inputamount-inputManifest UIBlocksFree1 dep · 2 files
Chat Conversationchat-conversationManifest UIBlocksFree1 dep · 3 files
Contact Formcontact-formManifest UIBlocksFree1 dep · 3 files
Date & Time Pickerdate-time-pickerManifest UIBlocksFree1 dep · 2 files
Event Cardevent-cardManifest UIBlocksFree1 dep · 2 files
Event Confirmationevent-confirmationManifest UIBlocksFree1 dep · 2 files
Event Detailevent-detailManifest UIBlocksFree3 deps · 2 files
Event Listevent-listManifest UIBlocksFree3 deps · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex