ICONYZ
English
Lock Solid icon from Clarity

Lock Solid icon

clarity:lock-solid

The Lock Solid icon (clarity:lock-solid) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Clarity
Author
VMware
License
MIT
Size
36 × 36
Category
Essential
Tags
locksolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M26 15v-4.28a8.2 8.2 0 0 0-8-8.36a8.2 8.2 0 0 0-8 8.36V15H7v17a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V15Zm-7 10.23V28h-2v-2.86a2.4 2.4 0 1 1 2 .09M24 15H12v-4.28a6.2 6.2 0 0 1 6-6.36a6.2 6.2 0 0 1 6 6.36Z" class="clr-i-solid clr-i-solid-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Lock Solid icon

React

import { Icon } from "@iconify/react";

<Icon icon="clarity:lock-solid" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="clarity:lock-solid" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="clarity:lock-solid" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--lock-solid]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:lock-solid"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="clarity:lock-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/clarity/lock-solid.svg" alt="Lock Solid icon" width="24" height="24">

Related icons in Clarity

Lock Solid icon in other icon sets

Lock Solid icon FAQ

Is the Lock Solid icon free for commercial use?

Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Lock Solid icon in React?

Install @iconify/react and render <Icon icon="clarity:lock-solid" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Lock Solid icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/lock-solid.svg" alt="Lock Solid icon">, or paste the SVG code inline to style it with CSS.

Browse all Clarity icons →