Citty
The citty icon represents a city or location, often used in mapping and geographic information systems.
Exports at 24 × 24 px
Code
Citty in your framework
In any framework. Customize it above, and the code follows.
export const CittyIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<g fill="none"><g clipPath="url(#SVGk9o6PzvS)"><path fill="url(#SVGSWtC4cqf)" d="M29.155 31.065H2.83a1.88 1.88 0 0 1-1.88-1.88V2.86c0-1.038.843-1.88 1.88-1.88h26.325c1.037 0 1.88.842 1.88 1.88v26.325a1.88 1.88 0 0 1-1.88 1.88"/><path fill="#A47FCD" d="M30.325 15.598h-4.75v5.464H15.048V4.71H7.161v16.353h-1.12v-8.78H3.085v10.662H5.46v6.36h24.283v-2.777h.582z"/><path fill="#3F737B" d="M8.103 6.282h.592V8.18h-.592zm1.262 0h.618V8.18h-.618zm1.953 0h-.605V8.18l.59-.005z"/><path fill="#A363B0" d="m12.61 6.282l-.65.003l.017 1.895h.628z"/><path fill="#FDE064" d="M8.103 6.282h.592V8.18h-.592zm1.262 0h.618V8.18h-.618zm1.963 0h-.615V8.18l.607-.005z"/><path fill="#A463B0" d="m12.61 9.282l-.65.003l.017 1.895h.628z"/><path fill="#FDE064" d="M8.103 9.282h.592v1.898h-.592z"/><path fill="#A463B0" d="M9.365 9.282h.618v1.898h-.618zm1.963 0h-.615v1.898l.607-.005zm-3.225 3h.592v1.898h-.592zm1.262 0h.618v1.898h-.618zm1.963 0h-.615v1.898l.607-.005z"/><path fill="#A363B0" d="m13.34 6.282l-.002 1.898h.64V6.282z"/><path fill="#A463B0" d="M26.388 20.3h.72v.985h-.72zm1.437 0h.72v.985h-.72z"/><path fill="#FDE064" d="M26.388 18.458h.72v.985h-.72z"/><path fill="#A463B0" d="M27.825 18.458h.72v.985h-.72z"/><path fill="#FDE064" d="M26.388 16.708h.72v.985h-.72zm1.437 0h.72v.985h-.72z"/><path fill="url(#SVGBwOOrbgJ)" d="M28.75 12.35c-.09.183 0 10.675 0 10.675h-3.968v-6h-1.277v-1.917h-1.133V13.48h-2.04v1.71h-1.297v1.793h-1.34v8.737h-1.26v-9.75h.588v-1.86h-.588v-3.852h-.662l-.903-2.79h-1.777l-.893 2.79h-.697v3.852h-.62v1.86h.62v9.75H9.708v-8.762h-5.41v-9.84S.96 7.094.95 7.104v22.08c0 1.038.843 1.88 1.88 1.88h26.325c1.037 0 1.88-.843 1.88-1.88V12.35z"/><path fill="#A463B0" d="M1.427 29.053H8.92v.587H1.427zm0-2.088H8.92v.587H1.427z"/><path fill="#FDE064" d="M1.427 24.803H8.92v.587H1.427zm0-2.088H8.92v.587H1.427zm0-2.413H8.92v.588H1.427zm0-2.087H8.92v.587H1.427z"/><path fill="#A463B0" d="M1.427 15.83h.44v.925h-.44z"/><path fill="#FDE064" d="M2.927 15.83h.44v.925h-.44zm-1.5-1.857h.44v.925h-.44zm1.5 0h.44v.925h-.44zm-1.5-1.858h.44v.925h-.44zm1.5 0h.44v.925h-.44zm-1.5-1.857h.44v.925h-.44zm1.5 0h.44v.925h-.44zm-1.5-1.86h.44v.925h-.44z"/><path fill="#A463B0" d="M2.927 8.398h.44v.925h-.44z"/><path fill="#FDE064" d="M12.45 16.128h.568v1.19h-.568zm1.345 0h.568v1.19h-.568zm1.295 0h.568v1.19h-.568zm-2.64 2.25h.568v1.19h-.568zm0 6.047h.568v1.19h-.568z"/><path fill="#A463B0" d="M13.795 24.425h.568v1.19h-.568zm1.295 0h.568v1.19h-.568zm-1.295-6.047h.568v1.19h-.568z"/><path fill="#FDE064" d="M15.09 18.378h.568v1.19h-.568z"/><path fill="#A463B0" d="M12.45 20.628h.568v1.19h-.568z"/><path fill="#FDE064" d="M13.795 20.628h.568v1.19h-.568zm1.295 0h.568v1.19h-.568z"/><path fill="#A463B0" d="M13.503 13.49h1.165v-1.73s.042-.65-.588-.665c-.592-.015-.6.65-.6.65s.037 1.745.022 1.745"/><path fill="#FDE064" d="M19.963 16.04h.567v2.422h-.568zm2.127 0h.567v2.422h-.567zm-1.052 0h.567v2.422h-.567zm-1.945 3.355h.567v.773h-.567zm1.954 0h.568v.773h-.567zm1.956 0h.567v.773h-.567z"/><path fill="#A463B0" d="M19.093 21.895h.567v.773h-.567z"/><path fill="#FDE064" d="M21.048 21.895h.567v.773h-.567zm1.955 0h.567v.773h-.567zm-3.91 2.363h.567v.772h-.567zm1.954 0h.568v.772h-.567zm1.956 0h.567v.772h-.567z"/><path fill="#A463B0" d="M19.093 26.758h.567v.772h-.567z"/><path fill="#FDE064" d="M21.048 26.758h.567v.772h-.567z"/><path fill="#A463B0" d="M23.003 26.758h.567v.772h-.567zm-3.91 2.367h.567v.773h-.567zm1.954 0h.568v.773h-.567zm1.956 0h.567v.773h-.567z"/></g><defs><radialGradient id="SVGSWtC4cqf" cx="0" cy="0" r="1" gradientTransform="matrix(33.7202 0 0 33.7203 16.557 34.305)" gradientUnits="userSpaceOnUse"><stop offset=".408" stopColor="#F4704F"/><stop offset=".463" stopColor="#EF6F55"/><stop offset=".536" stopColor="#E16D66"/><stop offset=".621" stopColor="#CA6982"/><stop offset=".713" stopColor="#A964A9"/><stop offset=".727" stopColor="#A463B0"/><stop offset=".772" stopColor="#9361B0"/><stop offset=".861" stopColor="#655CAF"/><stop offset=".944" stopColor="#3657AE"/></radialGradient><radialGradient id="SVGBwOOrbgJ" cx="0" cy="0" r="1" gradientTransform="translate(14.247 5.82)scale(25.0985)" gradientUnits="userSpaceOnUse"><stop offset=".46" stopColor="#513076"/><stop offset=".951" stopColor="#412769"/></radialGradient><clipPath id="SVGk9o6PzvS"><path fill="#fff" d="M0 0h32v32H0z"/></clipPath></defs></g>
</svg>
);UnJS Logos
More like it
Icons that share its tags, then the ones next to it in UnJS Logos, in the same style.
Search UnJS Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any UnJS Logos icon from a prompt.
Get ProTags
Browse by tag
Citty is tagged navigation, location, map and 2 more. Related tags follow; each opens its icons from every library.
Pricing
UnJS Logos MCP, with Pro
Ask for Citty or any of 63 UnJS Logos icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Citty icon means and where it's used, then how to install, style, label and license it.
The citty icon represents a city or location, often used in mapping and geographic information systems. Citty can be used to represent a specific city or location on a map.
In real-world applications, the citty icon is used in mapping and navigation tools like Google Maps, Apple Maps, or OpenStreetMap, where it can be used to represent cities or locations.
From a UX perspective, the citty icon communicates the concept of a specific location, helping users understand the context and significance of the place.
Citty is one of 63 icons in UnJS Logos, made by UnJS and released under Apache 2.0. It is drawn on a 32 × 32 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds CittyIcon to components/icons/unjs-citty.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed CittyIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Citty icon, or any of 63 UnJS Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 32 × 32 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Citty", so screen readers say what it does.
Yes. CittyIcon passes every SVG prop to the svg element, so <CittyIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. Apache 2.0 allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: Apache 2.0 only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming UnJS Logos, UnJS and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are navigation, location, map, geography and city. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Citty in another set.
4.9 out of 5 from 150+ developers
Install Citty from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro