softicons.dev

text cursor icon

Free text cursor SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1"/>
  <path d="M7 22h1a4 4 0 0 0 4-4V6a4 4 0 0 0-4-4H7"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/text-cursor.svg"
     width="24" height="24" alt="text cursor icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { TextCursorIcon } from "@softicons/react";

export default function Example() {
  return <TextCursorIcon size={24} strokeWidth={2} />;
}
<script setup>
import { TextCursorIcon } from "@softicons/vue";
</script>

<template>
  <TextCursorIcon :size="24" :stroke-width="2" />
</template>
import { TextCursorIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [TextCursorIconComponent],
  template: `<text-cursor-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}