id card icon

id-card from IconPark by ByteDance · Color · Others · Apache-2.0 Free for personal and commercial use.

Name
id-card
Set
IconPark
Style
Color
Category
Others
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More others icons from IconPark

Use the id card icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" stroke="#000" d="M42 8H6C4.89543 8 4 8.89543 4 10V38C4 39.1046 4.89543 40 6 40H42C43.1046 40 44 39.1046 44 38V10C44 8.89543 43.1046 8 42 8Z"/><path fill="#43CCF8" stroke="#fff" d="M36 16H28V24H36V16Z"/><path stroke="#fff" stroke-linecap="round" d="M12 32H36"/><path stroke="#fff" stroke-linecap="round" d="M12 16H18"/><path stroke="#fff" stroke-linecap="round" d="M12 24H18"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkIdCard(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" strokeLinejoin="round" strokeWidth="4"><path fill="#2F88FF" stroke="#000" d="M42 8H6C4.89543 8 4 8.89543 4 10V38C4 39.1046 4.89543 40 6 40H42C43.1046 40 44 39.1046 44 38V10C44 8.89543 43.1046 8 42 8Z"/><path fill="#43CCF8" stroke="#fff" d="M36 16H28V24H36V16Z"/><path stroke="#fff" strokeLinecap="round" d="M12 32H36"/><path stroke="#fff" strokeLinecap="round" d="M12 16H18"/><path stroke="#fff" strokeLinecap="round" d="M12 24H18"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" stroke="#000" d="M42 8H6C4.89543 8 4 8.89543 4 10V38C4 39.1046 4.89543 40 6 40H42C43.1046 40 44 39.1046 44 38V10C44 8.89543 43.1046 8 42 8Z"/><path fill="#43CCF8" stroke="#fff" d="M36 16H28V24H36V16Z"/><path stroke="#fff" stroke-linecap="round" d="M12 32H36"/><path stroke="#fff" stroke-linecap="round" d="M12 16H18"/><path stroke="#fff" stroke-linecap="round" d="M12 24H18"/></g></svg>
</template>

CSS

.icon-id-card {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20d%3D%22M42%208H6C4.89543%208%204%208.89543%204%2010V38C4%2039.1046%204.89543%2040%206%2040H42C43.1046%2040%2044%2039.1046%2044%2038V10C44%208.89543%2043.1046%208%2042%208Z%22%2F%3E%3Cpath%20fill%3D%22%2343CCF8%22%20stroke%3D%22%23fff%22%20d%3D%22M36%2016H28V24H36V16Z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2032H36%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2016H18%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2024H18%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%232F88FF%22%20stroke%3D%22%23000%22%20d%3D%22M42%208H6C4.89543%208%204%208.89543%204%2010V38C4%2039.1046%204.89543%2040%206%2040H42C43.1046%2040%2044%2039.1046%2044%2038V10C44%208.89543%2043.1046%208%2042%208Z%22%2F%3E%3Cpath%20fill%3D%22%2343CCF8%22%20stroke%3D%22%23fff%22%20d%3D%22M36%2016H28V24H36V16Z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2032H36%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2016H18%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2024H18%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/id-card.svg?color=%231a73e8&size=48