Get the icons
Guide

Icons your AI assistant can find

Prefer one line? The free Icon Picker plugin searches and inserts icons for your assistant.

Ask for “a cart button” or “a stop button for the agent” and get the right LINE & STONE component — not an SVG your assistant made up. This guide takes about five minutes and uses the files in your Team / Dev download.

What you need

1. Install the package

From your project folder, install the package file that came with your download:

npm install ./lineandstone-icons-react-1.1.0.tgz

Using Vue? Install lineandstone-icons-vue-1.1.0.tgz instead. The packages are not on the public npm registry — they install from the file you downloaded.

Every icon is one component with the prefix Ls:

import { LsCart } from '@lineandstone/icons-react'

<LsCart size={20} strokeWidth="auto" />

strokeWidth takes 1, 1.25, 1.5 or "auto" (1 px on sharp screens, 1.25 px elsewhere).

2. Give your assistant the rules

ai/AGENTS.md tells your assistant three things: use Ls components from the installed package, look icons up by meaning in metadata.json, and never draw its own SVG.

Copy ai/AGENTS.md and metadata.json into your project, then point your assistant at the rules:

3. Ask by meaning

You don’t need to know icon names. Describe what the icon is for:

Add a cart button to the header.
import { LsCart } from '@lineandstone/icons-react'

<button aria-label="Cart">
  <LsCart size={20} />
</button>

More prompts that work well:

Every icon has a name, a category and keywords in metadata.json, so the assistant can match “checkout basket” to cart or “launch to production” to deploy.

Tips

FAQ

Do I need the Team / Dev tier?

Yes for this workflow — the React and Vue packages, metadata.json and the AI rule file are in Team / Dev. Basic and Pro include SVG, PNG and the Figma / Sketch libraries.

Can my assistant use the icons in an open-source project?

Yes, for the icons your app actually uses, inside its source code. You may not publish the full set, the packages or the source folders. See the license.

Does the assistant send my icons anywhere?

No. Everything is local files in your project; the rules only tell the assistant which components to use.

Get Team / Dev →