No Smoking
The no smoking icon represents a prohibition or restriction on smoking.
Exports at 24 × 24 px
Code
No Smoking in your framework
In any framework. Customize it above, and the code follows.
export const NoSmokingIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
<path fill="#45413c" d="M10.83 45.28a13.17 1.72 0 1 0 26.34 0a13.17 1.72 0 1 0-26.34 0" opacity=".15"/><path fill="#00b8f0" d="M5.86 5.86h36.29v36.29H5.86Z"/><path fill="#4acfff" d="M42.14 11.58a5.72 5.72 0 0 0-5.72-5.72H11.58a5.72 5.72 0 0 0-5.72 5.72v3.73a5.72 5.72 0 0 1 5.72-5.72h24.84a5.72 5.72 0 0 1 5.72 5.72Z"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M5.86 5.86h36.29v36.29H5.86Z"/><path fill="#fff" d="M12 21.64h19.56v4.72H12a1.14 1.14 0 0 1-1.14-1.14v-2.44A1.14 1.14 0 0 1 12 21.64m22.09 0h1.14a1.14 1.14 0 0 1 1.14 1.14v2.43a1.14 1.14 0 0 1-1.14 1.14h-1.14z"/><path fill="#e0e0e0" d="M12.05 21.64a1.15 1.15 0 0 0-1.15 1.14v1.75a1.15 1.15 0 0 1 1.15-1.14h19.51v-1.75Zm23.18 0h-1.14v1.75h1.14a1.14 1.14 0 0 1 1.15 1.14v-1.75a1.14 1.14 0 0 0-1.15-1.14"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M12 21.64h19.56v4.72h0H12a1.14 1.14 0 0 1-1.14-1.14v-2.44A1.14 1.14 0 0 1 12 21.64m22.09 0h1.14a1.14 1.14 0 0 1 1.14 1.14v2.43a1.14 1.14 0 0 1-1.14 1.14h-1.14h0z"/><path fill="#ff6242" d="M9.6 9.6a2.37 2.37 0 0 0 0 3.34L35.06 38.4a2.36 2.36 0 1 0 3.34-3.34L12.94 9.6a2.37 2.37 0 0 0-3.34 0"/><path fill="#e04122" d="M9.36 11.69a2.35 2.35 0 0 1 3.34 0l25.45 25.45a2.4 2.4 0 0 1 .56.88a2.38 2.38 0 0 0-.31-3L12.94 9.6a2.36 2.36 0 0 0-3.89 2.47a2 2 0 0 1 .31-.38"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M9.6 9.6a2.37 2.37 0 0 0 0 3.34L35.06 38.4a2.36 2.36 0 1 0 3.34-3.34L12.94 9.6a2.37 2.37 0 0 0-3.34 0"/><path fill="#fff" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M35.59 18.23a1.29 1.29 0 1 0 2.58 0a1.29 1.29 0 1 0-2.58 0"/><path fill="#fff" d="M32.23 13.81a1.09 1.09 0 0 0 2.17.19a2 2 0 0 0 .75.14a2.27 2.27 0 1 0-2.08-1.36a1.08 1.08 0 0 0-.84 1.03"/><path fill="#e0e0e0" d="M35.15 11.26a2.26 2.26 0 0 1 2.1 1.43a2.3 2.3 0 0 0 .16-.84a2.27 2.27 0 0 0-4.53 0a2.1 2.1 0 0 0 .17.83a2.25 2.25 0 0 1 2.1-1.42m-2.5 3.39a1.06 1.06 0 0 1 .42-.22a2.3 2.3 0 0 1-.19-.91a2.3 2.3 0 0 1 .13-.74a1.1 1.1 0 0 0-.78 1a1.08 1.08 0 0 0 .42.87"/><path fill="none" stroke="#45413c" strokeLinecap="round" strokeLinejoin="round" d="M32.23 13.81a1.09 1.09 0 0 0 2.17.19a2 2 0 0 0 .75.14a2.27 2.27 0 1 0-2.08-1.36a1.08 1.08 0 0 0-.84 1.03"/>
</svg>
);Other libraries
No Smoking in 7 more libraries
Each library draws it its own way. Open one to compare.
Streamline Emojis
More like it
Icons that share its tags, in the same style.
Search Streamline Emojis
Skip the copy and paste. With Pro, your AI agent finds and installs any Streamline Emojis icon from a prompt.
Get ProTags
Browse by tag
No Smoking is tagged health, safety, restriction and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Streamline Emojis MCP, with Pro
Ask for No Smoking or any of 787 Streamline Emojis 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 No Smoking icon means and where it's used, then how to install, style, label and license it.
The no smoking icon represents a prohibition or restriction on smoking. It is often used to indicate that smoking is not allowed in a particular area or to warn users of potential hazards. The no smoking icon is an important safety measure, helping to prevent health risks and ensure public safety.
In real-world applications, the no smoking icon can be used in public spaces, such as restaurants or hospitals, to indicate that smoking is not allowed. It can also be used in workplaces or schools to warn employees or students of restrictions.
From a UX perspective, the no smoking icon communicates the idea of caution or warning. It can be used to indicate that a user should be aware of potential health risks or hazards. For example, in a hospital, the no smoking icon can be used to remind patients and visitors of no-smoking policies.
No Smoking is one of 787 icons in Streamline Emojis, made by Streamline and released under CC BY 4.0. It is drawn on a 48 × 48 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 NoSmokingIcon to components/icons/streamline-emojis-no-smoking.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 NoSmokingIcon 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 No Smoking icon, or any of 787 Streamline Emojis 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 48 × 48 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="No Smoking", so screen readers say what it does.
Yes. NoSmokingIcon passes every SVG prop to the svg element, so <NoSmokingIcon 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, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
7 other libraries draw an icon called No Smoking. 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 health, safety, restriction, prohibition, smoking and tobacco. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for No Smoking in another set.
4.9 out of 5 from 150+ developers
Install No Smoking from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro