Compass Icon
Compass dial with a diagonal diamond needle, for navigation, direction finding and explore sections. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.
Preview
Install and code
Compass icon in shadcn/ui components
Button
Icon button
Button group
Badge
Dropdown menu
Input group
Sidebar
Compass icon FAQ
What does this icon show?
Compass dial with a diagonal diamond needle, for navigation, direction finding and explore sections. Typical uses: navigation mode toggle in a map view, explore section link in a sidebar and heading indicator on a location card.
When should I use it instead of a similar icon?
Use it for:
- Explore tabs in a travel, events or city guide app that open places to browse nearby
- The reset to north control in a map's corner, shown once the user rotates the map
- Live heading readouts on a hiking, sailing or drone screen, the needle turning with the device
For a round placeholder mark for a workspace that has no logo yet, use the Circle Diamond icon. For centering the map on the user's own position, use the Focus icon. For a path drawn from where the user stands to a store or venue, use the Route icon.
Which styles does it come in?
4 styles: Outline, Solid, Duotone and Filled. Every style is drawn on the same 24 by 24 grid and installs as its own file, so you can switch styles without touching the layout.
How do I install it with the shadcn CLI?
Copy the install command from the panel above, in the style you want, and run it in your project. The shadcn CLI adds the icon as a React component that you import and render like any other. It draws in the current text color, so your text color and size classes style it. Icon installs need a ReUI Ultimate license.
What icons go well with it?
Icons from the same family and the Maps set: Flag, Focus, Geolocation, Geolocation Home, Globe and Home.
When was it added?
It joined the ReUI icon library on June 30, 2026.
Icons related to Compass
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.
When to use
- Explore tabs in a travel, events or city guide app that open places to browse nearby
- The reset to north control in a map's corner, shown once the user rotates the map
- Live heading readouts on a hiking, sailing or drone screen, the needle turning with the device
When not to use
- A round placeholder mark for a workspace that has no logo yet: use the Circle Diamond icon
- Centering the map on the user's own position: use the Focus icon
- A path drawn from where the user stands to a store or venue: use the Route icon
Agent notes
- Name an icon-only button with its label, "Reset to north", as the aria-label
Markdown
https://reui.io/icons/preview/compass.mdMCP
get_icon("compass")Install
npx shadcn@latest add @reui/icons/default/duotone/compassStart building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
Get All-Access
From $249, once. Lifetime updates.