Location Picker

Add a map location picker to a web form or web app with the location-picker npm package (the <location-picker> web component and the LocationPicker JavaScript class). Use it when a user must choose one precise latitude/longitude point on a map, such as a store, branch or sensor location, a delivery or pickup pin, an event venue, the place of a report or a home address, and the point must be submitted with a form, bound in React, Vue, Angular, Svelte, Solid or Preact, or written into hidden lat/lng inputs (Laravel, Django, Rails, jQuery, Livewire, Alpine, htmx). Covers the keyless OpenStreetMap

84 stars 16 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cyphercodes/location-picker --skill location-picker
Manual install
git clone --depth 1 https://github.com/cyphercodes/location-picker.git /tmp/location-picker
mkdir -p ~/.claude/skills
cp -r /tmp/location-picker/skills/location-picker ~/.claude/skills/location-picker

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# location-picker

`location-picker` captures one precise point: the user pans a map under a fixed centre pin (or searches, pastes coordinates, or taps "Use my location"), and the page gets `"lat,lng"`. It ships a form-associated custom element, `<location-picker>`, and an imperative class, `LocationPicker`. The default map is OpenStreetMap through Leaflet, with no API key.

Do not use it for drawing shapes or routes, several markers, a full mapping application, or text-only address autocomplete.

## Steps

1. **Pick the entry point.**
   - No bundler: `<script src="https://cdn.jsdelivr.net/npm/location-picker@3"></script>` (keep the `@3`). It defines `<location-picker>` and `window.LocationPicker`.
   - Bundler: `npm i location-picker`, then `import 'location-picker'` once in client code. It defines the element and is a no-op on the server.
   - Need the engine map synchronously, or no custom element: `import { LocationPicker } from 'location-picker/core'`.
2. **Wire the value.** In a form, use `name` (one `"lat,lng"` field), `lat-name` + `lng-name` (two fields), or `lat-input` + `lng-input` (fill inputs the page already has). In a framework, bind `value` and update state from `change` (committed); use `input` only to display live updates, and never write the value back from an `input` listener (in 3.0 that stops a pan in progress). Use the per-framework event names below.
Read the full skill on GitHub

Details

Skill name
location-picker
Path
skills/location-picker/SKILL.md
License
MIT
Repo updated
15 November 2026

FAQ

What does the Location Picker skill do?

Add a map location picker to a web form or web app with the location-picker npm package (the <location-picker> web component and the LocationPicker JavaScript class). Use it when a user must choose one precise latitude/longitude point on a map, such as a store, branch or sensor location, a delivery or pickup pin, an event venue, the place of a report or a home address, and the point must be submitted with a form, bound in React, Vue, Angular, Svelte, Solid or Preact, or written into hidden lat/lng inputs (Laravel, Django, Rails, jQuery, Livewire, Alpine, htmx). Covers the keyless OpenStreetMap

How do I install the Location Picker skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cyphercodes/location-picker --skill location-picker. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Location Picker popular?

It lives in cyphercodes/location-picker, which has 84 GitHub stars and 16 forks, and is included in 1 curated skill list.

Related skills

Activate Tavernweave Soul

224

LiarMTTT/TavernWeave

Activate, switch, combine, or close TavernWeave Soul as a portable current-task teaching overlay with 阿瞳 for warm guidance, MTTT.sir for strict learning examination, 灵魂杀手 for blunt frontend commentary through a disclosed Johnny Silverhand fan-roleplay Easter egg, and a three-seat ensemble of persona lenses for bounded brainstorming. Use when the user directly invokes a supported Soul command, says “脑暴模式,Soul 联席”, or asks for these guidance modes while making cards, reviewing frontend, or Vibe Coding. Soul provides persona, voice, and review lenses only: full/architecture review is owned by `$c

Frontend & Design20

Brainstorming

194

thedaviddias/skill-check

Use when starting creative work (features, components, functionality, or behavior changes) to clarify user intent, requirements, and design before implementation.

Frontend & Design

Frontend Design Audit

107

mistyhx/frontend-design-audit

Evaluate and improve the usability of existing front-end interfaces — either local source code or live websites by URL. Use this skill whenever the user has existing front-end code OR a live website URL and wants to understand why users struggle with it, find usability problems, or make it easier to use. Triggers on direct requests like "review my UI", "audit my interface", "check accessibility", "evaluate my design", "improve the UX", "audit this website", "review https://example.com" — but ALSO on indirect symptom descriptions like "users keep abandoning this form", "something feels off abou

Frontend & Design14

Prototype

211

iamyoki/qwen-image-2.1-skill

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design13

Shadcn Tailwind UI

224

LiarMTTT/TavernWeave

Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS. Use for component composition, responsive layouts, semantic design tokens, dark mode, forms, dialogs, tables, keyboard interaction, and safe Tailwind configuration in React, Vite, or Next.js projects. Do not use for canvas art, posters, font bundles, non-React frameworks, or general brand design.

Frontend & Design20

Nerv UI

97

mdrbx/nerv-ui

Build original, accessible React command-center interfaces with the published @mdrbx/nerv-ui component library. Use for dashboards, monitoring terminals, operational tools, authentication screens, or sharp industrial HUD-style UI in React, Vite, or Next.js.

Frontend & DesignIn 1 list

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.