Skip to content

shadcn.io is an independent project built on shadcn/ui

Festival Grounds Map Block for React

A festival on Tempelhofer Feld on a live map: a time slider plays the running order and fills the stage with a set on; a filter finds food, water or aid.

On this page5 sections

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

Help visitors find their way round a site with this festival grounds map for React with Base UI. Fennelgrove, a weekend festival, sets its grounds on the eastern half of Tempelhofer Feld in Berlin, on a live Map that follows your theme, light or dark: the fence, two gates at the field's real entrances on Columbiadamm and Oderstraße, three stage areas and eleven marks for food, water, toilets and first aid. Under the map a Slider from 14:00 to 23:00, in quarter hours, plays the typed running order: a stage with a set on fills and names its act on the map, the others stay pale, and three cells say what's on each stage now and until when, or what's next and at what time. A cell, or a stage's marker, flies the map to that stage, and the map button frames the grounds again. A Toggle Group over the map picks one kind of mark and fades the rest, and every mark says how far it is from the nearest stage. Built from Map, Slider, Toggle Group, Button and Guides. For festivals, fairs, shows, campuses and any site with a programme.

FAQ

Where does the running order come from?

GIG_LINES is one line per set: the stage, the start, the end and the act. gigAt finds the set a stage has on at the slider's minute and gigAfter the next one; the filled stages, the act names on the map, the three cells and the status line all read those two helpers. A gap between sets reads "Between sets" with the next act and its time.

What's real and what's invented?

Tempelhofer Feld, its streets and its two gates are real, at their places on OpenStreetMap. Fennelgrove, the fence, the stage areas, the marks, the acts and the times are invented. A mark's distance is measured on a flat earth from its point to each stage's front, to the nearest ten metres, so it's as the crow flies, not a walking route.

How does the filter work?

It's one choice at a time: All, Food, Water, Toilets or First aid. The marks of the other kinds fade to a quarter but stay on the map, the stages and gates always show, and All brings every mark back.

Can I use it without a mouse?

Yes. The slider takes the arrow keys, Home and End, and reads its time aloud; the filter is a toggle group, and the three stage cells are buttons with a pressed state that fly the map to their stage. The map's own buttons and the map itself work from the keyboard too. A polite message reads the running order once the slider settles.

What stays local, and how do I wire it up?

Everything but the map tiles, which load from CARTO's free basemaps over OpenStreetMap. Nothing is booked or sent. In your app feed STAGE_LINES, MARK_LINES and the running order from your programme data, and start the slider at the current time.

How does it look on a phone?

The filter wraps over the map, the map keeps a fixed height with smaller marks, then the slider runs full width and the three stages sit in a row of short cells under it. Scrolling the page over the map scrolls the page; two fingers move the map.