00Changelog

What's new

Every release of @matita/icons, newest first: the icons it added and what else changed. Icons from the latest batch carry a New badge across the site.

0.7.0

+57 icons

57 new glyphs (383 → 440), three glyphs redrawn, 102 alternate names, a shadcn/ui entry and AI-assistant docs.

Arrows 8

Dev tools 4

Everyday 4

Forms and files 14

Media 5

Mine 3

Navigation and layout 9

Status and feedback 10

Other changes

  • Redrawn: brain, matita and folder have new drawings.
  • Alternate names: 102 extra spellings that point at an existing glyph (house for home, ellipsis for more-horizontal, circle-user for user-circle, x-circle for circle-x, and more). Each is exported as X and XIcon from the main and React entries as a plain re-export of its glyph, accepted by <SketchIcon name> and the SketchIconName type, and listed in the new ALIASES export and the aliases field of icons.json and keywords.json. APPROXIMATE_ALIASES marks the ones where the glyph is the closest match. names and icons still hold the glyphs only.
  • shadcn/ui entry: @matita/icons/shadcn exports 166 React components named like the icon names the shadcn CLI writes into installed components (ChevronDownIcon, Loader2Icon, BadgeCheck, and more), each drawing a Matita glyph or alternate name. Fallback size 24, stroke 1.6, currentColor, ref forwarded, className, data-* and aria-* passed through, no CSS import. Tried in a Next.js app on the radix nova preset (accordion, sidebar, command, sonner, dropdown-menu, select, checkbox, pagination, calendar, breadcrumb). See "Use Matita in shadcn/ui" in the README.
  • Docs: a paste-in snippet for AI coding assistants (CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions) that says how to find icon names that exist and how to import them. It is in the README under "Use with AI coding assistants" and in docs/ai-instructions.md, which has per-tool notes.
  • Docs: the README starts with the Matita icon and the name matita/icons.
  • replaceIcons takes an optional aliases map so the script-tag build can accept alternate names too.
  • Fix: the React renderer no longer sets display:inline-block;flex:none as an inline style, which overrode Tailwind and shadcn classes such as hidden, inline, block and shrink. The same defaults now come from a zero-specificity :where(svg.sketch-icon) rule in pencil.css, and a style prop you pass still wins. overflow:visible stays inline. Import @matita/icons/pencil.css to get the inline-block and no-shrink defaults back; without it, icons use the browser defaults (so in a flex row add shrink-0).
  • Fix: every module in @matita/icons/react and @matita/icons/shadcn now starts with the 'use client' directive, added by the build. Before, importing an icon in a Next.js App Router server component failed at build time (createContext is not a function); now it renders as a client component. Tried with a production build and server start of a Next.js 16 app, a page without 'use client' that imports icons from both entries. The main entry and @matita/icons/engine have no React and are unchanged.
  • New: dist/llms.txt (a short guide for AI assistants: when to use Matita, install, named imports, the 'use client' note, props, size and stroke advice, every glyph name) and dist/llms-full.txt (the same plus search keywords for every glyph and the alternate-name table, with approximate ones marked), about 39 KB together and 4 KB plus 12 KB gzipped. Import them as @matita/icons/llms.txt and @matita/icons/llms-full.txt. One generator (scripts/llms.mjs) writes them at build time and the tests rebuild them from the sources to check counts, names, approximate marks and size limits. Both warn about same-name look-alikes: chart-bar draws vertical bars and loader draws an arc.
  • Alternate names: approximate flags made consistent. circle-user, grid and text are now listed in APPROXIMATE_ALIASES (a generic or round-head name the glyph only approximates); check-circle and check-square are no longer listed, like their -2 spellings (plain spellings of the same drawing). src/aliases.js states the rule and a test keeps those groups together.
  • Keywords: 21 glyphs gained search words (rename on pencil and square-pen, visibility on eye and eye-off, columns and vertical on chart-bar, spin on loader, retry, redirect, homepage, actions, locale, and a few more).

0.6.0

+81 icons

81 new glyphs (302 → 383), a new S primitive for smooth lines, and four glyphs redrawn.

Greek letters 48

Allergens 4

Dietary tags 4

Menu categories 6

Restaurant service 2

Everyday 9

Money and treasure 2

Nature 3

People and work 2

Brand 1

Other changes

  • New: S primitive. One smooth line through a list of points (S x y x y …), for custom glyphs and built-in ones. It draws as an exact smooth curve at wobble 0 and in the same hand as the other primitives otherwise. Every other glyph draws exactly as in 0.5.2.
  • Four glyphs are redrawn (heart, heart-pulse, history and rotate-ccw have new drawings).

0.5.2

The package now includes CHANGELOG.md, so the website can read the release history from the published version.

0.5.1

README only: the cover image shows all 302 glyphs on the npm page.

0.5.0

+42 icons

42 new glyphs (260 → 302), a new B primitive for curved lines, and ten glyphs redrawn.

Faces 5

Math 3

Science 8

Medical and biology 5

Weather, nature and travel 11

People and work 7

Money and value 3

Other changes

  • New: B primitive. One curved line made of cubic Bezier segments (a start point, then per segment two curve handles and the end point), for custom glyphs and built-in ones. It draws as exact shapes at wobble 0 and in the same hand as the other primitives otherwise. Every other glyph draws exactly as in 0.4.0.
  • Fixed: accessible labels. An icon with aria-label, aria-labelledby or its own role is no longer aria-hidden, and a label also sets role="img"; icons with none of these stay hidden from screen readers as before. The React component now renders a <title> child when title is set, like toSvg and createElement, so a tooltip shows on hover. Thanks to @tad-bit-better.
  • New: --matita-grain. A CSS variable for the pencil variant's paper grain, from 0 (solid lines) to 1 (the grain as in 0.4.0, and the default when the variable is unset). Set it on an icon or any parent. Thanks to @tad-bit-better.
  • Ten glyphs are redrawn (pill now has dots in one half, and key, keyboard, hard-drive, car, lightbulb, at-sign, hammer, brush and bone have new drawings).

0.4.0

+60 icons

60 new glyphs (200 → 260) and a wobble setting that goes all the way down to exact shapes.

Medical and science 22

People and files 9

Tools, devices and places 11

Everyday 18

Other changes

  • New: wobble. drawIcon(name, { wobble }) and <SketchIcon wobble={…} /> take a number from 0 to 1 that scales every habit of the hand: jitter, bow, overshoot and ring overlap. 1 is the default and draws exactly what 0.3.0 drew. 0 draws the glyph as exact shapes (true lines, circles, arcs and square corners). It also works for your own glyphs.
  • New: exact SVG files. @matita/icons/exact/<name>.svg is every glyph at wobble 0.

0.3.0

+27 icons

27 new glyphs (173 → 200), a new pencil variant, a redrawn printer, and circles that close in more than one way.

New icons 27

Other changes

  • Changed: circles and ellipses. Every ring used to close the same way, running 28° to 58° past its start. Now a ring closes with a long overlap (30° to 58°), a short one (4° to 18°), or, on rings with a radius of 4 or more, stops just short of its start. The 41 glyphs with a circle or ellipse draw differently; their other strokes, and every glyph without a ring, are unchanged.
  • Changed: the pencil variant (pencil). Every stroke is now drawn as two or three loose pencil lines that don't quite agree, like a quick sketch, instead of one line with a faint second pass. The paper grain in pencil.css now lives in the icon's own space, so it grows with the icon and fades into the line at small sizes; the old grain's large soft patches made strokes look like watercolour. The pencil/<name>.svg files now carry the grain as a built-in filter, so they look right without pencil.css.
  • Changed: icon data is smaller. The pencil lines are drawn from the ink when an icon is rendered, so icon objects no longer have a pencil field ({ name, ink, dot } only). Each icon adds about 40% less to a bundle, and the whole-set script build drops from 65 KB to 43 KB gzipped. If you read icon.pencil yourself, use iconPaths(icon, { pencil: true }) instead.
  • Changed: printer is redrawn (a wider body, a short paper tray and a sheet coming out at the bottom); the old one read like a person standing.

0.2.1

No changes to the icons or the code.

  • package.json has a funding link, so the project shows up in npm fund.
  • The README on npm now shows a preview of the whole set and links the site, the changelog and GitHub Sponsors.

0.2.0

+119 icons

0.1.2

  • Fixed: the plain SVG files (icons/*.svg, pencil/*.svg) and toSvg() strings wrote a bare data-sketch attribute on the root element, which is invalid XML, so the files didn't open as images. It's now data-sketch="". sprite.svg, inline use in HTML and the React components weren't affected.

0.1.1

  • First release published from GitHub Actions with npm provenance. No code changes.

0.1.0

+54 icons