Spotlight
The spotlight icon represents a search or a magnifying glass.
Exports at 24 × 24 px
Code
Spotlight in your framework
In any framework. Customize it above, and the code follows.
export const SpotlightIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="currentColor" d="M20.167 8.541a2.4 2.4 0 0 1 0 .396c-.041.787-.391 1.369-.875 1.849a2.76 2.76 0 0 1-1.948.807a2.8 2.8 0 0 1-2-.76a2.834 2.834 0 0 1-.167-3.995l.135-.136c.469-.457 1.005-.729 1.828-.807a2.8 2.8 0 0 1 2.111.74c.525.495.853 1.176.921 1.905zm11.286 9.719l-.839 1.625a5 5 0 0 0-.495 1.527l-.281 1.817a4.93 4.93 0 0 1-2.667 3.672l-1.641.817a5.1 5.1 0 0 0-1.301.943l-1.292 1.312a4.92 4.92 0 0 1-4.317 1.401l-1.808-.301a4.9 4.9 0 0 0-1.604 0l-1.807.301a4.94 4.94 0 0 1-4.319-1.401l-1.291-1.312a4.9 4.9 0 0 0-1.303-.943l-1.64-.817a4.93 4.93 0 0 1-2.667-3.672L1.9 21.412a4.8 4.8 0 0 0-.495-1.527L.55 18.26a4.9 4.9 0 0 1 0-4.531l.844-1.631c.244-.473.411-.989.489-1.52l.281-1.819a4.93 4.93 0 0 1 2.672-3.672l1.64-.817c.48-.244.917-.563 1.303-.943l1.287-1.301A4.94 4.94 0 0 1 13.389.625l1.807.301a4.9 4.9 0 0 0 1.605 0l1.801-.301a4.95 4.95 0 0 1 4.323 1.401l1.292 1.301c.38.38.817.708 1.303.943l1.635.817a4.96 4.96 0 0 1 2.672 3.672l.281 1.819a4.8 4.8 0 0 0 .489 1.52l.844 1.631c.74 1.416.74 3.109.011 4.531zM21.74 8.489a4.2 4.2 0 0 0-.459-1.729a4.52 4.52 0 0 0-4.303-2.437c-.176.027-.333.037-.489.057a4.45 4.45 0 0 0-2.495 1.407a4.36 4.36 0 0 0-1.12 3.249c.104 1.235.652 2.292 1.448 2.975c.584.505 1.323.953 2.256 1.088c1.785.271 3.156-.437 4.041-1.401a4.36 4.36 0 0 0 1.12-3.213zM8.755 17.511c.328-.183.641-.371.953-.552c-.109-1.287-.213-2.677-.312-3.871c1.312-.547 2.244-1.615 2.656-3.119c.339-1.209.193-2.636-.421-3.433a2.1 2.1 0 0 0-.797-.651c-.541-.197-1.193-.041-1.64.145q-.369.164-.699.407a7.7 7.7 0 0 0-1.177 1.032c.38 3.323.765 6.812 1.136 10.208c.099-.047.197-.099.301-.167zm.172-9.538c.021-.104.267-.249.36-.317a1.2 1.2 0 0 1 .568-.213c.619-.021.765.505.796 1.099a5.5 5.5 0 0 1 0 .943c-.077 1.047-.572 1.719-1.391 2.057c-.067-.651-.109-1.437-.187-2.187c-.037-.308-.084-.709-.125-1.068c-.011-.099-.027-.204-.027-.313zm-1.515 8.371a8 8 0 0 0-.563-1.615a6.3 6.3 0 0 1-.495-1.651c-.089-.797.067-1.495.572-1.865c-.187-.615-.348-1.224-.536-1.828c-1.099.584-1.864 1.641-1.864 3.208c0 .969.359 1.595.708 2.292c.235.459.437.927.593 1.421c.156.532.303 1.115.26 1.663c-.093 1.057-.531 1.796-1.104 2.427c-.052.063-.244.224-.244.265a1 1 0 0 0 .115.213c.224.475.427.875.651 1.333c.031.068.063.204.109.224c.047.027.135-.088.192-.156c.188-.197.371-.412.537-.64c.932-1.287 1.495-3.297 1.068-5.292zm3.703 2.229c.459-1.303.896-2.647 1.235-4.016c.099-.401.224-.817.301-1.235c.011-.041.047-.145 0-.167c-.593.183-1.213.333-1.796.527c-.245 2.031-.849 3.839-1.537 5.531c-.681 1.693-1.525 3.256-2.4 4.745c1.077 1.167 2.447 2.057 3.947 2.796c.272-.452.563-.891.824-1.348c-.923-.563-1.876-1.1-2.661-1.792a54 54 0 0 0 2.088-5.041zm3.5-3.578c-.38-.255-.855-.448-1.271-.672c-.828 3.188-1.937 6.125-3.005 9.109c.369.204.729.428 1.109.631c.719-1.391 1.156-2.885 1.729-4.401c.281-.74.516-1.505.749-2.276c.24-.771.475-1.583.688-2.391zm3.229 9.322v-1.323c0-.301-.011-.64-.021-1.167c-.796.104-1.604.167-2.391.281c-.031.437-.031.896-.057 1.36c.349.02.901-.048 1.251-.048c0 .652 0 1.215.011 1.761c0 .213.031.427-.027.604c-.079.271-.359.437-.719.407c-.412-.048-.74-.475-.917-.819c-.619-1.213-.416-3.213-.171-4.557a7.1 7.1 0 0 1 .979-2.567c.459-.729 1.088-1.333 1.984-1.595c0-.369-.02-.875-.047-1.292c-.011-.187 0-.427-.041-.525c-.016-.011-.037.011-.047.011a4.8 4.8 0 0 0-1.505.853a6.54 6.54 0 0 0-2.005 2.666c-.484 1.079-.708 2.324-.844 3.704c-.099 1.057-.115 2.02.047 2.973c.052.303.147.604.256.901c.395 1.031 1.156 1.896 2.708 1.683c.593-.084 1.073-.319 1.577-.532c0-.984-.02-2.02-.02-2.781zm4.744-5.968c-.072-.751-.124-1.5-.14-2.256c-.036-1.041 0-2.052.052-3.093c0-.011 0-.011-.011-.011c-.401.313-.864.641-1.301.953a.7.7 0 0 0-.167.156a1 1 0 0 0 0 .271c-.011 1.505.077 3.095.115 4.443c-.376.157-.74.36-1.115.505a107 107 0 0 1-.344-4.547c-.495.172-.943.375-1.427.552c.099.74.203 1.448.271 2.131c.119 1.088.176 2.177.187 3.265c0 .317 0 .631-.02.943c-.048.661-.037 1.333-.079 2c-.104 1.276-.088 2.645-.088 3.86c.255-.115.505-.261.76-.381c.26-.113.505-.249.749-.395c0-.485.027-.865.037-1.276c.047-1.584.088-2.907.031-4.313c.428-.197.855-.401 1.303-.593c.301 1.807.911 3.391 1.459 5.005c.457-.349.853-.761 1.291-1.147a29 29 0 0 1-.817-2.557a17.2 17.2 0 0 1-.74-3.509zm3.448-5.046c.256-.105.491-.261.74-.381c.245-.124.479-.26.719-.405c-.453-1.292-1.011-2.469-1.787-3.48c-.749-1-1.635-1.891-2.635-2.645c0-.027-.032 0-.032.011a10 10 0 0 0-.687.963c-.043.079-.199.281-.188.36q.101.133.235.235c.088.088.183.161.244.224c.407.416.74.787 1.115 1.233c.052.068.188.215.188.281a1.7 1.7 0 0 1-.099.36c-.183.64-.303 1.265-.417 1.943a16.4 16.4 0 0 0-.197 3.948c.099 1.401.369 2.672.672 3.907c.145.604.323 1.208.547 1.791c.172.437.339.876.531 1.272c.063.129.099.291.213.389c.381-.495.781-.963 1.157-1.457c-.563-1-.943-2.219-1.235-3.489a9 9 0 0 1-.24-1.344c-.167-1.833-.235-3.819.26-5.547a6.8 6.8 0 0 1 .896 1.833z"/>
</svg>
);Other libraries
Spotlight in 4 more libraries
Each library draws it its own way. Open one to compare.
CoreUI Brands
More like it
Icons that share its tags, in the same style.
Search CoreUI Brands
Skip the copy and paste. With Pro, your AI agent finds and installs any CoreUI Brands icon from a prompt.
Get ProTags
Browse by tag
Spotlight is tagged search, light, find and 2 more. Related tags follow; each opens its icons from every library.
Pricing
CoreUI Brands MCP, with Pro
Ask for Spotlight or any of 830 CoreUI Brands 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 Spotlight icon means and where it's used, then how to install, style, label and license it.
The spotlight icon represents a search or a magnifying glass. It visually consists of a combination of shapes forming a light source, typically used to symbolize finding or searching for something. The design of this icon originates from the concept of a spotlight used to illuminate a specific area or object.
In real-world applications, the spotlight icon appears in various software and platforms such as search bars in browsers, file explorers, or applications like Alfred, Launchy, or the Windows Start menu.
From a UX perspective, the spotlight icon communicates the action of searching or finding specific information within an interface. It helps users understand that they can look for specific data, files, or functions.
Spotlight is one of 830 icons in CoreUI Brands, made by creativeLabs Łukasz Holeczek and released under CC0 1.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 SpotlightIcon to components/icons/cib-spotlight.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 SpotlightIcon 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 Spotlight icon, or any of 830 CoreUI Brands icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
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 follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. 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="Spotlight", so screen readers say what it does.
Yes. SpotlightIcon passes every SVG prop to the svg element, so <SpotlightIcon 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.
CC0 1.0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 1.0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming CoreUI Brands, creativeLabs Łukasz Holeczek and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
4 other libraries draw an icon called Spotlight. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are search, light, find, glass and magnifying. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Spotlight in another set.
4.9 out of 5 from 150+ developers
Install Spotlight from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro