On this page

Find and extend

Design Router

New in Levni 0.6.0 levni route and route_design need 0.6.0 or newer.

Ask for a design job or a thing. The router answers with the Levni tool for the job, or says Levni does not do it and names open tools that do; and it searches everything open that Levni draws with: Folio drawings, Tabler icons, the four OFL fonts, palettes, pattern generators, motion presets and shots. Results are ranked together; each one shows its licence, its credit and a snippet to paste into a scene, and every preview can be drawn in your colours. In the browser at levni.dev/router, in the terminal as levni route, and for agents as the route_design MCP tool.

npx @levni/levni route kahve --colors '#E8522F,#1E1466' --sheet sheet.png
drawing  cezve        CC BY 4.0  ·  {"type":"prop","name":"cezve","x":600,"y":336,"size":260}
drawing  coffee       MIT (redrawn from Tabler Icons)  ·  {"type":"prop","name":"coffee",…}
…
style: {"blue":"#E8522F","tone":"#F5B1A1","coral":"#1E1466",…}

A job, not only a thing#

Ask for the job and the router answers with the way, not a pile of assets:

  • Levni does this. readme banner, og image, poster, zine, riso print, animation… The answer names the page on levni.dev, the CLI command and the MCP tool that do it.
  • Not in Levni. figma alternative, photo editing, 3d model, diagram, remove background… The answer says so plainly, names open tools that do it with their licences (from Levni-Dev's lists: Awesome Open Design, design MCP servers, open lettering) and marks the jobs we plan to make ourselves as wanted. AI image generation is not planned: Levni draws from a library, with no image model.
  • Open tools. Any of the 240-odd tools in those lists, by name, category or description.
$ npx @levni/levni route figma alternative
[not in levni] UI design and prototyping: Levni makes pictures, not interfaces.
   use: Penpot (MPL-2.0) https://penpot.app
        Penpot MCP (official) (MPL-2.0) …

The map lives in src/ways.mjs (what Levni does, what it does not) and src/elsewhere.mjs (generated from the lists by site/scripts/sync-elsewhere.mjs). A search that finds nothing on the site offers to tell us what you were making: those gaps decide what we build next.

What a query can be#

  • A thing, in English or Turkish: coffee, kedi, rocket, music. Drawings come first; a plain Tabler icon of the same thing comes after them.
  • A kind word narrows it: headline font, dots pattern, night palette, float motion, launch shot, coffee icon. Kind words alone list the kind: fonts, patterns, palettes.
  • --kind drawing,font (CLI) or kinds (MCP) picks kinds explicitly.
Kind What it is Licence Snippet
drawing a Folio drawing CC BY 4.0, or MIT when redrawn from Tabler Icons a prop element
icon a Tabler icon, inked (needs @tabler/icons) MIT an icon element
font Space Grotesk, Archivo Black, JetBrains Mono, Departure Mono OFL 1.1 a type element
palette riso, miniature, night, forest, sunset, mono, pastel CC0 a scene style
pattern halftone, waves, hatching, shape grid, dot matrix, confetti, stars, rain, mesh gradient, flow field, ridgelines, hills, skyline, grain MIT the element
motion every loop and entrance MIT a motion field
shot the 25 shots MIT { "shot": id, "fields": {…} }

Your colours#

--colors '#E8522F,#1E1466,#F2C230' (CLI), colors (MCP) or the three swatches on the page turn your colours into Levni inks: blue, coral, mustard and green in that order, each with a light tone, and ink as a dark version of the first. The previews are drawn with them and you get the ink map to put in any scene's style. Palettes always show their own inks.

For agents#

{ "name": "route_design", "arguments": { "query": "coffee", "colors": ["#E8522F", "#1E1466"], "limit": 8 } }

The tool answers with the ranked list (kind, id, licence, credit, snippet), your ink map, and a contact sheet of the previews.

From code#

import { routeDesign } from '@levni/levni';
const { results, counts } = routeDesign('coffee', { colors: ['#E8522F'], limit: 6 });
// results[0].snippet → paste into a scene; results[0].scene → a small preview scene to render

catalog, route, routeScene and inksFrom (from src/router.mjs) work in the browser too, with any list of drawings you give them.

Found a mistake? These pages come from the docs folder and the CLI help; fix it there and open a pull request.

Free, for real

Make one now. Keep making them for free.

Try Levni in your browser, then add it to Claude or Codex: it draws on your machine, so the $20 plan you already have is enough. No image credits, no second bill.