typing cursor icon
typing-cursor from Agent Loaders by IconsDB · Animated · animated · MIT Free for personal and commercial use.
- Name
- typing-cursor
- Set
- Agent Loaders
- Style
- Animated
- Animation
- Animated SVG (SMIL)
- Viewbox
- 24×24
- License
- MIT
Use the typing cursor 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-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="12" x2="13" y2="12" opacity=".4"/><rect x="15" y="6.5" width="3" height="11" rx="1.5" fill="currentColor" stroke="none"><animate attributeName="opacity" values="1;0" calcMode="discrete" dur="1s" repeatCount="indefinite"/></rect></g></svg>
React
import type { SVGProps } from "react";
export function AgentLoadersTypingCursor(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" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"><line x1="4" y1="12" x2="13" y2="12" opacity=".4"/><rect x="15" y="6.5" width="3" height="11" rx="1.5" fill="currentColor" stroke="none"><animate attributeName="opacity" values="1;0" calcMode="discrete" dur="1s" repeatCount="indefinite"/></rect></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-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="4" y1="12" x2="13" y2="12" opacity=".4"/><rect x="15" y="6.5" width="3" height="11" rx="1.5" fill="currentColor" stroke="none"><animate attributeName="opacity" values="1;0" calcMode="discrete" dur="1s" repeatCount="indefinite"/></rect></g></svg> </template>
CSS
.icon-typing-cursor {
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-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cline%20x1%3D%224%22%20y1%3D%2212%22%20x2%3D%2213%22%20y2%3D%2212%22%20opacity%3D%22.4%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%226.5%22%20width%3D%223%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22currentColor%22%20stroke%3D%22none%22%20opacity%3D%221%22%3E%3C%2Frect%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-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cline%20x1%3D%224%22%20y1%3D%2212%22%20x2%3D%2213%22%20y2%3D%2212%22%20opacity%3D%22.4%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%226.5%22%20width%3D%223%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22currentColor%22%20stroke%3D%22none%22%20opacity%3D%221%22%3E%3C%2Frect%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/agent-loaders/typing-cursor.svg?color=%231a73e8&size=48