question from Material Line Icons by Vjacheslav Trushkin · Line · Alerts · animated · MIT Free for personal and commercial use.

Name
question
Set
Material Line Icons
Style
Line
Category
Alerts
Animation
Animated SVG (SMIL)
Viewbox
24×24
License
MIT

The same icon in other sets

All question icons →

More alerts icons from Material Line Icons

Use the question icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="30" d="M7 8c0 -2.76 2.24 -5 5 -5c2.76 0 5 2.24 5 5c0 1.64 -0.79 3.09 -2 4c-0.84 0.63 -3 2 -3 5"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="30;0"/></path><path stroke-dasharray="4" stroke-dashoffset="4" d="M12 21v0.01"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.6s" dur="0.2s" to="0"/></path></g></svg>

React

import type { SVGProps } from "react";

export function LineMdQuestion(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path strokeDasharray="30" d="M7 8c0 -2.76 2.24 -5 5 -5c2.76 0 5 2.24 5 5c0 1.64 -0.79 3.09 -2 4c-0.84 0.63 -3 2 -3 5"><animate fill="freeze" attributeName="strokeDashoffset" dur="0.6s" values="30;0"/></path><path strokeDasharray="4" strokeDashoffset="4" d="M12 21v0.01"><animate fill="freeze" attributeName="strokeDashoffset" begin="0.6s" dur="0.2s" to="0"/></path></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="30" d="M7 8c0 -2.76 2.24 -5 5 -5c2.76 0 5 2.24 5 5c0 1.64 -0.79 3.09 -2 4c-0.84 0.63 -3 2 -3 5"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="30;0"/></path><path stroke-dasharray="4" stroke-dashoffset="4" d="M12 21v0.01"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.6s" dur="0.2s" to="0"/></path></g></svg>
</template>

CSS

.icon-question {
  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%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2230%22%20d%3D%22M7%208c0%20-2.76%202.24%20-5%205%20-5c2.76%200%205%202.24%205%205c0%201.64%20-0.79%203.09%20-2%204c-0.84%200.63%20-3%202%20-3%205%22%20stroke-dashoffset%3D%220%22%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%224%22%20stroke-dashoffset%3D%220%22%20d%3D%22M12%2021v0.01%22%3E%3C%2Fpath%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2230%22%20d%3D%22M7%208c0%20-2.76%202.24%20-5%205%20-5c2.76%200%205%202.24%205%205c0%201.64%20-0.79%203.09%20-2%204c-0.84%200.63%20-3%202%20-3%205%22%20stroke-dashoffset%3D%220%22%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%224%22%20stroke-dashoffset%3D%220%22%20d%3D%22M12%2021v0.01%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

This icon is animated. Browsers do not run SVG animation inside a CSS mask, so the rule above uses a still of the drawn icon. Inline the SVG (or use the React/Vue/Svelte snippet) to keep the animation.

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