Dark
The dark icon represents a display setting or theme option, commonly used in software and websites to switch to a darker visual scheme.
Exports at 21 × 24 px
Code
Dark in your framework
In any framework. Customize it above, and the code follows.
export const DarkIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="24" viewBox="0 0 551 634" {...props}>
<path fill="currentColor" d="M312.297 99v7c0 27-12 40-37 40s-36-13-36-40v-7c0-26 11-39 36-39s37 13 37 39m74 32l5-6c15-22 33-25 52-11c20 14 23 33 8 55l-6 5c-15 22-33 25-52 10c-20-14-22-31-7-53m-226-6l4 6c15 22 13 39-6 53c-20 15-39 12-54-10l-4-5c-15-22-13-41 6-55c20-14 39-9 54 11m115 66c85 0 155 70 155 156c0 85-70 154-155 154c-86 0-155-69-155-154c0-86 69-156 155-156m-224 44l7 2c26 8 34 23 27 47c-8 24-24 31-49 23l-7-2c-25-8-34-23-27-47c8-24 24-31 49-23m441 2l7-2c26-8 42-1 49 23s-1 39-27 47l-6 2c-26 8-42 1-49-23c-8-24 1-39 26-47m-217 196c47 0 86-39 86-86c0-48-39-87-86-87c-48 0-87 39-87 87c0 47 39 86 87 86m-246-45l7-2c25-8 41-2 49 22c7 24-1 39-27 47l-7 2c-25 8-41 2-49-22c-7-24 2-39 27-47m486-2l6 2c26 8 34 23 27 47s-23 30-49 22l-7-2c-25-8-34-23-26-47c7-24 23-30 49-22m-415 139l4-6c15-22 34-24 54-10c19 14 21 31 6 53l-4 6c-15 22-34 24-54 10c-19-14-21-31-6-53m345-6l6 6c15 22 12 39-8 53c-19 14-37 12-52-10l-5-6c-15-22-13-39 7-53c19-14 37-12 52 10m-133 67v8c0 27-12 40-37 40s-36-13-36-40v-8c0-27 11-40 36-40s37 13 37 40"/>
</svg>
);Other libraries
Dark in 2 more libraries
Each library draws it its own way. Open one to compare.
Ligature Symbols
More like it
Icons that share its tags, in the same style.
Search Ligature Symbols
Skip the copy and paste. With Pro, your AI agent finds and installs any Ligature Symbols icon from a prompt.
Get ProTags
Browse by tag
Dark is tagged UI, interface, design and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Ligature Symbols MCP, with Pro
Ask for Dark or any of 348 Ligature Symbols 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 Dark icon means and where it's used, then how to install, style, label and license it.
The dark icon represents a display setting or theme option, commonly used in software and websites to switch to a darker visual scheme. This feature is often used to reduce eye strain, conserve battery life, or provide a more comfortable viewing experience.
The dark icon appears in various applications, such as operating systems like Windows and macOS, which offer a dark mode option. Similarly, popular software like Adobe Creative Cloud and web browsers like Google Chrome and Mozilla Firefox also feature a dark mode.
From a UX perspective, the dark icon communicates a user's preference for a darker visual scheme, which can help reduce eye strain and improve readability. It also allows users to customize their interface to suit their needs and preferences.
Dark is one of 348 icons in Ligature Symbols, made by Kazuyuki Motoyama and released under Open Font License. It is drawn on a 551 × 634 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 DarkIcon to components/icons/ls-dark.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 DarkIcon 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 Dark icon, or any of 348 Ligature Symbols 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 551 × 634 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="Dark", so screen readers say what it does.
Yes. DarkIcon passes every SVG prop to the svg element, so <DarkIcon 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. The Open Font License allows commercial use; the icons can't be sold on their own. The full terms are in the license, linked on this page.
No visible credit is required: Open Font License 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 Ligature Symbols, Kazuyuki Motoyama and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Dark. 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 UI, interface, design, UX, settings and theme. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Dark in another set.
4.9 out of 5 from 150+ developers
Install Dark from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro