Lock Cancel Slash
The lock-cancel-slash icon represents a security or authentication concept, often used to indicate denied access or an error in the authorization process.
Exports at 24 × 24 px
Code
Lock Cancel Slash in your framework
In any framework. Customize it above, and the code follows.
export const LockCancelSlashIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
<g fill="currentColor" fillRule="evenodd" clipRule="evenodd"><path d="M6.158 10.037c-3.509-.38-4.224.69-4.372 2.937c-.616 10.594 1.038 9.943 5.648 9.806c10.768-.55 10.554-.37 10.55-.942c0-.496-.133-.496-4.498-.448c-10.426.11-10.614 1.78-10.614-5.657c0-3.934-.112-4.486 1.366-4.784c1.477-.298 2.236.156 2.287-.483a.4.4 0 0 0-.367-.429m10.958-4.431c-1.201-5.734-10.55-5.828-11.53-.04a.4.4 0 0 1-.788-.103c.651-7.476 12.406-7.068 13.463-.064a34 34 0 0 1 .029 3.892c1.621.099 2.899.577 3.35 2.203c.347 3 .27 6.036-.23 9.015c-.733 1.667-1.824.35-1.073 0c.417-.212.383-1.331.29-4.432a387 387 0 0 1-.076-2.75c-.073-2.579-.733-2.609-2.734-2.699l-.433-.02a68 68 0 0 0-6.654-.073c-1.503.05-1.993.065-2.025-.364c-.045-.522.246-.541 6.61-.822l.413-.02a42 42 0 0 1 1.626-.058a18 18 0 0 1-.012-.777c0-.805-.002-1.819-.226-2.888"/><path d="M.21.98c11.53 12.496 10.04 12.117 22.994 22.916a.42.42 0 1 0 .554-.633C9.646 10.37.95-.297.22.414A.4.4 0 0 0 .21.98"/></g>
</svg>
);Freehand free icons
More like it
Icons that share its tags, in the same style.
Search Freehand free icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Freehand free icons icon from a prompt.
Get ProTags
Browse by tag
Lock Cancel Slash is tagged UI, interface, security and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Freehand free icons MCP, with Pro
Ask for Lock Cancel Slash or any of 1,000 Freehand free 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 Lock Cancel Slash icon means and where it's used, then how to install, style, label and license it.
The lock-cancel-slash icon represents a security or authentication concept, often used to indicate denied access or an error in the authorization process. This icon may symbolize a canceled or forbidden action, and its presence can help users understand that they do not have permission to access a certain resource.
In real-world applications, this icon appears in various software and platforms, such as login interfaces, access control systems, or security software, where users need to be informed about access restrictions. For instance, when a user tries to access a restricted area, this icon might appear to indicate that they do not have the necessary permissions.
From a UX perspective, this icon communicates that the user's action has been denied or canceled, helping them understand that they need to take alternative actions or seek permission. The icon's clear and recognizable design helps to avoid confusion and provides a sense of feedback.
Lock Cancel Slash is one of 1,000 icons in Freehand free icons, made by Streamline and released under CC BY 4.0. It is drawn on a 24 × 24 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 LockCancelSlashIcon to components/icons/streamline-freehand-lock-cancel-slash.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 LockCancelSlashIcon 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 Lock Cancel Slash icon, or any of 1,000 Freehand free 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 24 × 24 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="Lock Cancel Slash", so screen readers say what it does.
Yes. LockCancelSlashIcon passes every SVG prop to the svg element, so <LockCancelSlashIcon 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.
Its tags are UI, interface, security, error, authentication and authorization. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Lock Cancel Slash in another set.
4.9 out of 5 from 150+ developers
Install Lock Cancel Slash from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro