id-card from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
id-card
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-id-card

The same icon in other sets

Use the id card icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.715 12c1.151 0 2-.849 2-2s-.849-2-2-2s-2 .849-2 2s.848 2 2 2"/><path fill="currentColor" d="M20 4H4c-1.103 0-2 .841-2 1.875v12.25C2 19.159 2.897 20 4 20h16c1.103 0 2-.841 2-1.875V5.875C22 4.841 21.103 4 20 4m0 14l-16-.011V6l16 .011z"/><path fill="currentColor" d="M14 9h4v2h-4zm1 4h3v2h-3zm-1.57 2.536c0-1.374-1.676-2.786-3.715-2.786S6 14.162 6 15.536V16h7.43z"/></svg>

React

import type { SVGProps } from "react";

export function BxIdCard(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.715 12c1.151 0 2-.849 2-2s-.849-2-2-2s-2 .849-2 2s.848 2 2 2"/><path fill="currentColor" d="M20 4H4c-1.103 0-2 .841-2 1.875v12.25C2 19.159 2.897 20 4 20h16c1.103 0 2-.841 2-1.875V5.875C22 4.841 21.103 4 20 4m0 14l-16-.011V6l16 .011z"/><path fill="currentColor" d="M14 9h4v2h-4zm1 4h3v2h-3zm-1.57 2.536c0-1.374-1.676-2.786-3.715-2.786S6 14.162 6 15.536V16h7.43z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M9.715 12c1.151 0 2-.849 2-2s-.849-2-2-2s-2 .849-2 2s.848 2 2 2"/><path fill="currentColor" d="M20 4H4c-1.103 0-2 .841-2 1.875v12.25C2 19.159 2.897 20 4 20h16c1.103 0 2-.841 2-1.875V5.875C22 4.841 21.103 4 20 4m0 14l-16-.011V6l16 .011z"/><path fill="currentColor" d="M14 9h4v2h-4zm1 4h3v2h-3zm-1.57 2.536c0-1.374-1.676-2.786-3.715-2.786S6 14.162 6 15.536V16h7.43z"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.715%2012c1.151%200%202-.849%202-2s-.849-2-2-2s-2%20.849-2%202s.848%202%202%202%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%204H4c-1.103%200-2%20.841-2%201.875v12.25C2%2019.159%202.897%2020%204%2020h16c1.103%200%202-.841%202-1.875V5.875C22%204.841%2021.103%204%2020%204m0%2014l-16-.011V6l16%20.011z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%209h4v2h-4zm1%204h3v2h-3zm-1.57%202.536c0-1.374-1.676-2.786-3.715-2.786S6%2014.162%206%2015.536V16h7.43z%22%2F%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9.715%2012c1.151%200%202-.849%202-2s-.849-2-2-2s-2%20.849-2%202s.848%202%202%202%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%204H4c-1.103%200-2%20.841-2%201.875v12.25C2%2019.159%202.897%2020%204%2020h16c1.103%200%202-.841%202-1.875V5.875C22%204.841%2021.103%204%2020%204m0%2014l-16-.011V6l16%20.011z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M14%209h4v2h-4zm1%204h3v2h-3zm-1.57%202.536c0-1.374-1.676-2.786-3.715-2.786S6%2014.162%206%2015.536V16h7.43z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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