ICONYZ
English
Lock Closed Solid icon from NRK Core Icons

Lock Closed Solid icon

nrk:lock-closed-solid

The Lock Closed Solid icon (nrk:lock-closed-solid) is a free SVG icon from the NRK Core Icons set by Norsk rikskringkasting. It is drawn on a 24 × 24 grid. NRK Core Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
NRK Core Icons
Author
Norsk rikskringkasting
License
CC-BY-4.0
Size
24 × 24
Tags
lockclosed, closedsolid, lockclosedsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M21 10v12H3V10zm-10 4v5h2v-5z" clip-rule="evenodd"/><path d="M12 1a6 6 0 0 1 6 6v1h-2V7a4 4 0 0 0-8 0v1H6V7a6 6 0 0 1 6-6"/></g></svg>

How to use the Lock Closed Solid icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="nrk:lock-closed-solid"></iconify-icon>

HTML image

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

Related icons in NRK Core Icons

Lock Closed Solid icon in other icon sets

Lock Closed Solid icon FAQ

Is the Lock Closed Solid icon free for commercial use?

Yes. NRK Core Icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Lock Closed Solid icon in React?

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

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

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

Browse all NRK Core Icons →