gentleface

Gentleface › Development › code-sparkle

code-sparkle icon

Code sparkle: generate code, ai code, code generation, code assistant. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated code-sparkle-strike · line-round

The slash pulls up into its top end and the sparkle twinkles out. The slash then strikes down hard, and the sparkle flies off its lower end with a quarter turn, cutting the slash and the > back as it opens.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 1.55 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M10.053 2.276C10.116 2.15 10.212 2.066 10.341 2.023C10.47 1.98 10.598 1.99 10.724 2.053C10.85 2.116 10.934 2.212 10.977 2.341C11.02 2.47 11.01 2.598 10.947 2.724L7.073 10.472C6.996 10.486 6.917 10.5 6.836 10.514C6.678 10.54 6.528 10.604 6.4 10.7L6.4 10.7C6.274 10.637 6.19 10.541 6.147 10.412C6.104 10.283 6.114 10.155 6.177 10.029L10.053 2.276ZM2.207 7.5L4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854C4.756 10.951 4.638 11 4.5 11C4.362 11 4.244 10.951 4.146 10.854L1.146 7.854C1.049 7.756 1 7.638 1 7.5C1 7.362 1.049 7.244 1.146 7.146L4.146 4.146C4.246 4.047 4.364 3.997 4.5 3.997C4.636 3.997 4.754 4.047 4.854 4.146C4.953 4.246 5.003 4.364 5.003 4.5C5.003 4.636 4.953 4.754 4.854 4.854L2.207 7.5ZM12.95 8.597C12.948 8.582 12.948 8.566 12.948 8.549C12.948 8.413 12.998 8.295 13.097 8.196L13.793 7.5L11.146 4.854C11.049 4.756 11 4.638 11 4.5C11 4.362 11.049 4.244 11.146 4.146C11.246 4.047 11.364 3.997 11.5 3.997C11.636 3.997 11.754 4.047 11.854 4.146L14.854 7.146C14.953 7.246 15.003 7.364 15.003 7.5C15.003 7.636 14.953 7.754 14.854 7.854L13.804 8.903C13.705 9.002 13.587 9.052 13.451 9.052C13.315 9.052 13.197 9.002 13.097 8.903L13.097 8.902C13.045 8.807 12.996 8.705 12.95 8.597ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z"/></svg>
React
// Gentleface "code-sparkle" (line-round), MIT. https://gentleface.com/icons/code-sparkle
import type { SVGProps } from 'react';

export function CodeSparkleIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M10.053 2.276C10.116 2.15 10.212 2.066 10.341 2.023C10.47 1.98 10.598 1.99 10.724 2.053C10.85 2.116 10.934 2.212 10.977 2.341C11.02 2.47 11.01 2.598 10.947 2.724L7.073 10.472C6.996 10.486 6.917 10.5 6.836 10.514C6.678 10.54 6.528 10.604 6.4 10.7L6.4 10.7C6.274 10.637 6.19 10.541 6.147 10.412C6.104 10.283 6.114 10.155 6.177 10.029L10.053 2.276ZM2.207 7.5L4.854 10.146C4.953 10.246 5.003 10.364 5.003 10.5C5.003 10.636 4.953 10.754 4.854 10.854C4.756 10.951 4.638 11 4.5 11C4.362 11 4.244 10.951 4.146 10.854L1.146 7.854C1.049 7.756 1 7.638 1 7.5C1 7.362 1.049 7.244 1.146 7.146L4.146 4.146C4.246 4.047 4.364 3.997 4.5 3.997C4.636 3.997 4.754 4.047 4.854 4.146C4.953 4.246 5.003 4.364 5.003 4.5C5.003 4.636 4.953 4.754 4.854 4.854L2.207 7.5ZM12.95 8.597C12.948 8.582 12.948 8.566 12.948 8.549C12.948 8.413 12.998 8.295 13.097 8.196L13.793 7.5L11.146 4.854C11.049 4.756 11 4.638 11 4.5C11 4.362 11.049 4.244 11.146 4.146C11.246 4.047 11.364 3.997 11.5 3.997C11.636 3.997 11.754 4.047 11.854 4.146L14.854 7.146C14.953 7.246 15.003 7.364 15.003 7.5C15.003 7.636 14.953 7.754 14.854 7.854L13.804 8.903C13.705 9.002 13.587 9.052 13.451 9.052C13.315 9.052 13.197 9.002 13.097 8.903L13.097 8.902C13.045 8.807 12.996 8.705 12.95 8.597ZM11.5 16C11 13 10 12 7 11.5C10 11 11 10 11.5 7C12 10 13 11 16 11.5C13 12 12 13 11.5 16Z" />
    </svg>
  );
}
Vue
Vue: see /icons/code-sparkle.md
Svelte
Svelte: see /icons/code-sparkle.md
HTML img
HTML img: see /icons/code-sparkle.md
CSS
CSS: see /icons/code-sparkle.md
Data URL
Data URL: see /icons/code-sparkle.md
Sprite
Sprite: see /icons/code-sparkle.md
SwiftUI
SwiftUI: see /icons/code-sparkle.md
Compose
Compose: see /icons/code-sparkle.md
Android XML
Android XML: see /icons/code-sparkle.md
Flutter
Flutter: see /icons/code-sparkle.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { CodeSparkleIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
generate code, ai code, code generation, code assistant, ai coding
Example
Generate code in a notebook cell
Built from
code + sparkle
Tags
code, html, xml, markup, brackets, angle-brackets, developer, programming, source, sparkle
Category
Development
Component name
CodeSparkleIcon
History
  • added
  • released in 0.1.0
Since
version 0.1.0

Family 13

More development icons

For agents

Metadata: /icons/code-sparkle.json · Markdown: /icons/code-sparkle.md · SVG: https://gentleface.com/svg/{style}/16/code-sparkle.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/code-sparkle.png