# Application Maps and Location: Location Sharing Settings

A master sharing switch, a precision choice between precise and approximate, a list of people who can see you, and a history retention row.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/location-sharing-settings
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Maps and Location](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/location-sharing-settings.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-maps-location-location-sharing-settings
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, badge, button, switch
- Installs to: `@/components/blocks/application-pro/maps-location/location-sharing-settings`

## About this block

Location Sharing Settings is the privacy control panel, a master sharing switch above a precision choice between Precise and Approximate positions, a list of the three people who can currently see the location with per person scopes and Stop actions, and a history retention row with a Clear history action. The Approximate option is selected and badged as the default, and each shared person carries a scope line such as always, while on shift, or a temporary window.

Precision options and the shared people are two arrays, so the selected radio row and the count in the section header stay in sync with the data. An admin policy note at the foot explains that precise location is enforced during an active delivery while the settings above govern everything else.

## When to use

Reach for this block in account settings, field workforce apps, and any product where a user manages who can see their location and how exact it is. Wire the switch and radio choice to your sharing service and render the shared list from the grants stored for the user.

A natural flow around it on an Application Pro page:

**Before**

- [Profile and account](https://www.shadcn-ui-blocks.com/blocks/application-pro/profile-account)
- [Settings page](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

**After**

- [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)
- [Address card](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location)

## What you can display

One strong use is the delivery driver sharing panel. Other sharing surfaces:

- **Family sharing.** The same list scoped to household members, each with an always on or school hours window.
- **Team check in.** Coworker visibility during a shift, with a switch that turns off automatically when the shift ends.
- **Temporary share link.** A single guest row that expires, shown above the standing list with a countdown on its scope line.

> Tip: keep the admin policy note honest about what is enforced; users trust a sharing panel more when it names the one case they cannot turn off.

## More in Application Maps and Location

- [Address Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/address-card)
- [Distance Radius Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/distance-radius-card)
- [Geofence Zones](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/geofence-zones)
- [IP Lookup Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/ip-lookup-panel)
- [Location History](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/location-history)
- [Location Picker](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/location-picker)
- [Map With Pins Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/map-with-pins-blueprint)
- [Region Selector](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/region-selector)
- [Route Planner](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/route-planner)
- [Territory List](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/territory-list)
- [Timezone Overlap](https://www.shadcn-ui-blocks.com/blocks/application-pro/maps-location/timezone-overlap)
