A text field with sparkles, for AI prompts, smart compose and generative text entry. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

AINewv1.8.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<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="M14 7L4 7C2.8954 7 2 7.8954 2 9L2 15C2 16.1046 2.8954 17 4 17L20 17C21.1046 17 22 16.1046 22 15" fill="none"/>
  <path d="M20.4119 6.2804L20.853 7.3986C20.988 7.741 21.259 8.012 21.6014 8.147L22.7196 8.5881C22.8888 8.6548 23 8.8182 23 9C23 9.1818 22.8888 9.3452 22.7196 9.4119L21.6014 9.853C21.259 9.988 20.988 10.259 20.853 10.6014L20.4119 11.7196C20.3452 11.8888 20.1818 12 20 12C19.8182 12 19.6548 11.8888 19.5881 11.7196L19.147 10.6014C19.012 10.259 18.741 9.988 18.3986 9.853L17.2804 9.4119C17.1112 9.3452 17 9.1818 17 9C17 8.8182 17.1112 8.6548 17.2804 8.5881L18.3986 8.147C18.741 8.012 19.012 7.741 19.147 7.3986L19.5881 6.2804C19.6548 6.1112 19.8182 6 20 6C20.1818 6 20.3452 6.1112 20.4119 6.2804ZM7.2746 10.1869L7.5687 10.9324C7.6587 11.1607 7.8393 11.3413 8.0676 11.4313L8.8131 11.7254C8.9259 11.7698 9 11.8788 9 12C9 12.1212 8.9259 12.2302 8.8131 12.2746L8.0676 12.5687C7.8393 12.6587 7.6587 12.8393 7.5687 13.0676L7.2746 13.8131C7.2302 13.9259 7.1212 14 7 14C6.8788 14 6.7698 13.9259 6.7254 13.8131L6.4313 13.0676C6.3413 12.8393 6.1607 12.6587 5.9324 12.5687L5.1869 12.2746C5.0741 12.2302 5 12.1212 5 12C5 11.8788 5.0741 11.7698 5.1869 11.7254L5.9324 11.4313C6.1607 11.3413 6.3413 11.1607 6.4313 10.9324L6.7254 10.1869C6.7698 10.0741 6.8788 10 7 10C7.1212 10 7.2302 10.0741 7.2746 10.1869Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" stroke="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • ai input
  • prompt
  • ai field
  • smart input
  • generate text
  • ask ai

Related icons

The rest of the input family first, then the AI shelf.

FAQ

Answered from input-sparkles's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the input-sparkles icon for?
A text field with sparkles, for AI prompts, smart compose and generative text entry. It is filed under AI in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as ai input, prompt, ai field, smart input, generate text and ask ai, and the browser's search matches all of those.
What styles does the input-sparkles icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of input-sparkles?
No. input-sparkles is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with input-sparkles?
input, input-cursor, input-text-cursor, activity-sparkles, app-window-sparkles and audio-lines-sparkles, and 12 more, all shown below. The input family is listed first, then the rest of the AI shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import input-sparkles in React?
<InputSparkles /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <InputSparkles size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the input-sparkles SVG?
icons/stroke/input-sparkles.svg, icons/two-tone/input-sparkles.svg, icons/duotone/input-sparkles.svg and icons/fill/input-sparkles.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was input-sparkles added to the set?
Added 11 Oct 2026. It ships in v1.8.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.