Keyline Icons
v3.3.0Search Keyline Icons by name and get any icon's SVG source or React import.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_icons
Find icons by name. Returns matching names and which of the four styles each one has. Names are kebab-case and compounds read base-first, so a mail icon with a tick is `mail-check`, not `check-mail`. Search the base word to find a family. Word order does not matter and a component name from another set is accepted as written, so `CheckCircle2` finds `circle-check`. Trust an empty result: it means the set has no such icon.
| Parameter | Type | Description |
|---|---|---|
query * | string | Substring to match, e.g. `arrow` or `mail`. |
limit | integer | Max results. Default 25. |
style | string | Only return icons that have this style. |
get_icon
The full SVG source for one icon, ready to paste. Colour comes from `currentColor`, so it inherits whatever text colour is in scope.
| Parameter | Type | Description |
|---|---|---|
name * | string | Exact icon name, e.g. `circle-arrow-down`. |
corners | string | Corner treatment. `regular` is the rounded drawing and the default; `sharp` is the same icon with squared corners and butt caps. |
style | string | Defaults to `stroke`, the only style every icon has. |
get_react_usage
The import line and JSX for one icon from `@keyline-icons/react`. Each style is its own entry point because they do not cover the same icons, and sharp is one segment further along: `@keyline-icons/react/sharp` and `/sharp/duotone`. The export is called the same thing either way.
| Parameter | Type | Description |
|---|---|---|
name * | string | Exact icon name, e.g. `circle-arrow-down`. |
corners | string | Corner treatment. `regular` is the rounded drawing and the default; `sharp` is the same icon with squared corners and butt caps. |
style | string | Defaults to `stroke`. |
describe_set
What this set is: how many icons, which styles, and the rule that decides which icons have which style. Call this first when deciding whether the set covers what you need.