No Smoking
The no-smoking icon represents a symbol used to indicate areas where smoking is prohibited, promoting public health and smoking cessation.
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 64 64" {...props}>
<path fill="currentColor" d="M16.289 36.915v-4.329h12.239L17.007 21.065a18.67 18.67 0 0 0-3.505 10.904c0 10.354 8.424 18.778 18.778 18.778c4.063 0 7.827-1.302 10.904-3.504L32.856 36.915H16.288zm15.992-23.724a18.67 18.67 0 0 0-11.011 3.582l15.814 15.813h6.268v4.329h-1.938l6.065 6.065a18.67 18.67 0 0 0 3.581-11.01c-.001-10.354-8.424-18.779-18.779-18.779m13.332 23.706h-1.45v-4.38h1.45zm2.267 0h-1.45v-4.38h1.45zm-.009-7.763v2.668h-1.45v-2.668c0-2.356-1.619-4.86-4.619-4.86h-2.303a.725.725 0 0 1-.587-1.15c.525-.724.839-1.612.839-2.376c0-1.89-1.477-3.266-3.526-3.308v.294h-1.45V16.03c-2.194.063-2.782 1.946-2.782 2.952c0 .766.327 1.514.897 2.052c.66.622 1.587.92 2.687.854a.73.73 0 0 1 .662.346a.73.73 0 0 1 .006.746c-.403.685-.398 1.666.013 2.385c.239.415.705.912 1.578.912h3.896c2.395 0 3.883 1.356 3.883 3.539v1.986h-1.45v-1.986c0-1.727-1.322-2.089-2.432-2.089h-3.896c-1.206 0-2.241-.598-2.837-1.642c-.475-.83-.613-1.851-.414-2.777c-1.291-.153-2.158-.717-2.69-1.218a4.3 4.3 0 0 1-1.353-3.107c0-2.162 1.455-4.345 4.232-4.403v-.434h1.45v1.845c2.843.044 4.976 2.073 4.976 4.757c0 .677-.161 1.394-.458 2.076h1.059c3.798 0 6.068 3.208 6.068 6.311z"/><path fill="currentColor" d="M56.99.365c.001 0-49.333-.016-49.317 0C3.127.365.57 2.715.57 7.519v49.513c0 4.492 2.298 6.846 6.84 6.846h49.723c4.542 0 6.844-2.235 6.844-6.846V7.519c0-4.686-2.302-7.154-6.987-7.154M32.281 56.138c-13.326 0-24.168-10.842-24.168-24.168S18.955 7.802 32.281 7.802S56.449 18.644 56.449 31.97S45.607 56.138 32.281 56.138"/>
</svg>
);Other libraries
No Smoking in 6 more libraries
Each library draws it its own way. Open one to compare.
Medical Icons
More like it
Icons that share its tags, in the same style.
Search Medical Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Medical Icons icon from a prompt.
Get ProTags
Browse by tag
No Smoking is tagged medical, health, prevention and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Medical Icons MCP, with Pro
Ask for No Smoking or any of 144 Medical Icons 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 symbol used to indicate areas where smoking is prohibited, promoting public health and smoking cessation. It originated from the need to visually communicate health risks associated with smoking. This icon signifies the importance of creating smoke-free environments to protect individuals from secondhand smoke and encourage smokers to quit.
In real-world applications, the no-smoking icon appears in various public spaces such as hospitals, schools, and government buildings. It is also used on packaging and labeling of tobacco products, as well as in public health campaigns to raise awareness about the dangers of smoking.
From a UX perspective, the no-smoking icon effectively communicates a clear message to users, helping them understand and navigate environments where smoking is not allowed. Its presence can influence user behavior, encouraging individuals to refrain from smoking and promoting a healthier environment.
No Smoking is one of 144 icons in Medical Icons, made by Samuel Frémondière and released under MIT. It is drawn on a 64 × 64 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/medical-icon-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 144 Medical Icons 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 64 × 64 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="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. MIT 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: MIT 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 Medical Icons, Samuel Frémondière and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
6 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 medical, health, prevention, smoking and public health. 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