Secret icon
k8s:secret
The Secret icon (k8s:secret) is a free SVG icon from the Kubernetes Icons set by The Kubernetes Authors. It is drawn on a 18 × 18 grid. Kubernetes Icons are released under the Apache 2.0 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
- Kubernetes Icons
- Author
- The Kubernetes Authors
- License
- Apache-2.0
- Size
- 18 × 18
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><g stroke-width="0"><path fill="#326ce5" d="M8.958.463a1.136 1.126 0 0 0-.435.11l-5.94 2.838a1.136 1.126 0 0 0-.615.764L.503 10.55a1.136 1.126 0 0 0 .154.864a1.136 1.126 0 0 0 .065.09l4.111 5.111a1.136 1.126 0 0 0 .888.424l6.593-.002a1.136 1.126 0 0 0 .888-.423l4.11-5.112a1.136 1.126 0 0 0 .219-.953l-1.468-6.375a1.136 1.126 0 0 0-.614-.764L9.509.573a1.136 1.126 0 0 0-.551-.11"/><path fill="#fff" d="M8.955.001a1.199 1.19 0 0 0-.46.117l-6.27 2.996a1.199 1.19 0 0 0-.649.806L.03 10.65a1.199 1.19 0 0 0 .162.912a1.199 1.19 0 0 0 .069.094l4.34 5.397a1.199 1.19 0 0 0 .937.447l6.96-.001a1.199 1.19 0 0 0 .937-.447l4.338-5.397a1.199 1.19 0 0 0 .232-1.006l-1.549-6.73a1.199 1.19 0 0 0-.649-.806L9.537.118A1.199 1.19 0 0 0 8.955 0m.003.462a1.136 1.126 0 0 1 .55.11l5.94 2.837a1.136 1.126 0 0 1 .615.764l1.468 6.375a1.136 1.126 0 0 1-.22.953l-4.11 5.113a1.136 1.126 0 0 1-.887.423l-6.593.001a1.136 1.126 0 0 1-.888-.424l-4.111-5.11a1.136 1.126 0 0 1-.065-.09a1.136 1.126 0 0 1-.154-.864l1.465-6.374a1.136 1.126 0 0 1 .615-.765L8.523.573a1.136 1.126 0 0 1 .435-.11" color="#000"/></g><g stroke-miterlimit="10" transform="translate(-.936 -.399)"><path fill="none" stroke="#fff" stroke-linejoin="round" stroke-width=".794" d="M10.414 8.091h3.709M8.298 5.975h5.825m-8.339 0h1.458"/><path fill="#fff" fill-rule="evenodd" stroke="#326ce5" stroke-linecap="square" stroke-width=".265" d="M7.718 8.432h0c0-1.167 1.011-2.112 2.259-2.112s2.258.945 2.258 2.112h-1.056h0c0-.583-.538-1.056-1.202-1.056s-1.202.473-1.202 1.056z"/><path fill="none" stroke="#fff" stroke-linejoin="round" stroke-width=".794" d="M10.414 10.208h3.709m-5.825 2.117h5.825m-8.339 0h1.458"/><path fill="#fff" fill-rule="evenodd" stroke="#326ce5" stroke-linecap="square" stroke-width=".265" d="M7.162 8.37h5.617v3.657H7.162z"/><circle cx="9.971" cy="10.198" r=".555" fill="#326ce5"/></g></svg>How to use the Secret icon
React
import { Icon } from "@iconify/react";
<Icon icon="k8s:secret" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="k8s:secret" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="k8s:secret" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[k8s--secret]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/k8s -->
<div class="i-k8s:secret"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="k8s:secret"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/k8s/secret.svg" alt="Secret icon" width="24" height="24">Secret icon in other icon sets
Secret icon FAQ
Is the Secret icon free for commercial use?
Yes. Kubernetes Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Secret icon in React?
Install @iconify/react and render <Icon icon="k8s:secret" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Secret icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/k8s/secret.svg" alt="Secret icon">, or paste the SVG code inline to style it with CSS.