A page with sparkles, for AI documents, generated files and smart drafts. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<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="M18 12L18 8L12 2L6 2C3.7909 2 2 3.7909 2 6L2 18C2 20.2091 3.7909 22 6 22L12 22M12 2L12 5C12 6.6569 13.3431 8 15 8L18 8"/>
<path d="M19.5492 15.3739L20.1373 16.8648C20.3173 17.3213 20.6787 17.6827 21.1352 17.8627L22.6261 18.4508C22.8518 18.5397 23 18.7576 23 19C23 19.2424 22.8518 19.4603 22.6261 19.5492L21.1352 20.1373C20.6787 20.3173 20.3173 20.6787 20.1373 21.1352L19.5492 22.6261C19.4603 22.8518 19.2424 23 19 23C18.7576 23 18.5397 22.8518 18.4508 22.6261L17.8627 21.1352C17.6827 20.6787 17.3213 20.3173 16.8648 20.1373L15.3739 19.5492C15.1482 19.4603 15 19.2424 15 19C15 18.7576 15.1482 18.5397 15.3739 18.4508L16.8648 17.8627C17.3213 17.6827 17.6827 17.3213 17.8627 16.8648L18.4508 15.3739C18.5397 15.1482 18.7576 15 19 15C19.2424 15 19.4603 15.1482 19.5492 15.3739ZM10.8433 12.2337L11.2108 13.1655C11.3233 13.4508 11.5492 13.6767 11.8345 13.7892L12.7663 14.1567C12.9074 14.2123 13 14.3485 13 14.5C13 14.6515 12.9074 14.7877 12.7663 14.8433L11.8345 15.2108C11.5492 15.3233 11.3233 15.5492 11.2108 15.8345L10.8433 16.7663C10.7877 16.9074 10.6515 17 10.5 17C10.3485 17 10.2123 16.9074 10.1567 16.7663L9.7892 15.8345C9.6767 15.5492 9.4508 15.3233 9.1655 15.2108L8.2337 14.8433C8.0926 14.7877 8 14.6515 8 14.5C8 14.3485 8.0926 14.2123 8.2337 14.1567L9.1655 13.7892C9.4508 13.6767 9.6767 13.4508 9.7892 13.1655L10.1567 12.2337C10.2123 12.0926 10.3485 12 10.5 12C10.6515 12 10.7877 12.0926 10.8433 12.2337Z" fill="currentColor" 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 document
- generated file
- smart draft
- ai file
- generate document
- document
- page
- paper
Related icons
The rest of the file family first, then the AI shelf.
FAQ
Answered from file-sparkles's own facts: its shelf, the weights it was drawn in, its siblings and its dates.
- What is the file-sparkles icon for?
- A page with sparkles, for AI documents, generated files and smart drafts. 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 document, generated file, smart draft, ai file, generate document, document, page and paper, and the browser's search matches all of those.
- What styles does the file-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 file-sparkles?
- No. file-sparkles is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with file-sparkles?
- file, file-arrow-down, file-arrow-left, file-arrow-right, file-arrow-up and file-audio, and 12 more, all shown below. The file 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 file-sparkles in React?
- <FileSparkles /> 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 <FileSparkles size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the file-sparkles SVG?
- icons/stroke/file-sparkles.svg, icons/two-tone/file-sparkles.svg, icons/duotone/file-sparkles.svg and icons/fill/file-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 file-sparkles added to the set?
- Added 22 Sept 2026, and last redrawn 23 Sept 2026. It ships in v1.1.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.