ICONYZ
English
Padlock icon from PrestaShop Icons

Padlock icon

ps:padlock

The Padlock icon (ps:padlock) is a free SVG icon from the PrestaShop Icons set by PrestaShop. It is drawn on a 384 × 512 grid. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
PrestaShop Icons
Author
PrestaShop
License
CC-BY-NC-4.0
Size
384 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="384" height="512" viewBox="0 0 384 512"><path fill="currentColor" d="M192 0q-52 0-90 38t-38 90v64q-27 0-45.5 18.5T0 256v192q0 27 18.5 45.5T64 512h256q27 0 45.5-18.5T384 448V256q0-27-18.5-45.5T320 192v-64q0-52-38-90T192 0m149 256v192q0 21-21 21H64q-21 0-21-21V256q0-21 21-21h256q21 0 21 21m-234-64v-64q0-35 25-60t60-25t60 25t25 60v64zm85 64q-27 0-45.5 18.5T128 320q0 20 12 36.5t31 23.5v25q0 22 21 22t21-22v-25q43-15 43-60q0-27-18.5-45.5T192 256m0 85q-21 0-21-21t21-21t21 21t-21 21"/></svg>

How to use the Padlock icon

React

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

<Icon icon="ps:padlock" width="24" />

Vue

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

<template>
  <Icon icon="ps:padlock" width="24" />
</template>

Svelte

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

<Icon icon="ps:padlock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ps--padlock]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ps -->
<div class="i-ps:padlock"></div>

Web component

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

<iconify-icon icon="ps:padlock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ps/padlock.svg" alt="Padlock icon" width="24" height="24">

Padlock icon in other icon sets

Padlock icon FAQ

Is the Padlock icon free for commercial use?

No. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author.

How do I use the Padlock icon in React?

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

How do I add the Padlock icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ps/padlock.svg" alt="Padlock icon">, or paste the SVG code inline to style it with CSS.

Browse all PrestaShop Icons →