coolicons

v5.5.0
io.github.krystonschwarze/coolicons Checked 5 hours ago Published 8 days ago

Search coolicons by meaning, then get SVG source and the right import in any style and radius

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

describe_set Describe coolicons

Counts, styles, corner radii, categories, packages and naming rules of coolicons. Call it once before choosing icons.

search_icons Search coolicons

Find coolicons by name or meaning, ranked: exact name, then name parts, then tags like date for calendar. Separate several searches with commas to resolve many names in one call, like "delete, settings, chevron down".

ParameterTypeDescription
query *stringOne search, or several separated by commas.
limitintegerResults per search. Default 5.

list_icons List coolicons

Browse the icons of one category a page at a time, with component names and tags. Categories and counts come from describe_set. Useful when a search is weak or to compare every option in a theme.

ParameterTypeDescription
category *stringCategory from describe_set, like Calendar or File.
limitintegerIcons per page. Default 50.
offsetintegerStart at this icon. Default 0, pass the returned next offset for the following page.

get_icon Get coolicons SVG

The SVG source of one icon in the chosen style and corner radius. Paints with currentColor.

ParameterTypeDescription
name *stringExact icon name from search_icons, like calendar-event.
radiusstringCorner radius: sharp, regular or round. Default regular.
sizeintegerWidth and height in pixels. Default 24.
strokeWidthnumberStroke width for line, duocolor and duotone. Default 2.
stylestringline, duocolor, duotone, fill or bulk. Default line.

get_usage Get coolicons import

Install command and import code for one or more icons in React, Vue, plain SVG or the shadcn/ui registry, using the entry for the chosen style and corner radius.

ParameterTypeDescription
names *stringExact icon names, separated by commas.
frameworkstringDefault react.
radiusstringCorner radius: sharp, regular or round. Default regular.
stylestringline, duocolor, duotone, fill or bulk. Default line.