{"schemaVersion":1,"id":"vivus","name":"Vivus","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/vivus/","officialUrl":"https://maxwellito.github.io/vivus/","isCatalog":false,"description":"A JavaScript library for revealing SVGs through line drawing: sequential outline animation for diagrams, illustrations, and logos.","tasks":["UI or SVG animation","Smooth website content transitions","Reveal an SVG logo by drawing its lines sequentially","Animate the appearance of an outline diagram or illustration"],"categoryIds":["motion"],"subcategoryIds":["motion.vector"],"tags":["JavaScript","SVG","vector"],"aliases":["maxwellito/vivus"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Vivus code is available free of charge for local and commercial projects, subject to its license.","paidUsage":"This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","license":"MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.","selectionGuide":{"purpose":"UI or SVG animation","chooseWhen":["UI or SVG animation","Smooth website content transitions","Reveal an SVG logo by drawing its lines sequentially"],"considerInstead":["When choosing for this topic, compare Vivus with Rough Notation. A candidate to compare under the topic: Vector animation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare Vivus with barba.js. A candidate to compare: both product pages list the use case “UI or SVG animation”. Implementation approach and compatibility are checked separately."],"requirements":["SVG must use stroke rather than fill and contain no text objects. Loading a file through object requires dimensions on the parent element."],"limitations":["Costs and limits of free use: This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","Terms of use: MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.","With non-scaling-stroke, resizing requires recalc. Timing functions are computed for every path on every frame, so complex graphics increase animation work."],"faq":[{"question":"What can you use for free in Vivus?","answer":"Vivus code is available free of charge for local and commercial projects, subject to its license."},{"question":"What additional costs might arise with Vivus?","answer":"This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license."},{"question":"What terms of use matter for Vivus?","answer":"MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained."},{"question":"How do you get started with Vivus?","answer":"Check the project's stack and version against the current Vivus documentation; add the package or the required source component. Implement the selected workflow with the supplied data, adapting styles and states to the project. Check the result in the target environment, remove sample data, and retain the notices required by the license."},{"question":"How do I prepare SVG for Vivus animation?","answer":"Vivus animates path strokes through stroke-dashoffset. delayed, sync, and oneByOne are supported; duration is specified in frames rather than milliseconds. Pathformer converts basic shapes to paths, but text must first be converted to outlines."}],"related":[{"id":"rough-notation","reason":"A candidate to compare under the topic: Vector animation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"barba-js","reason":"A candidate to compare: both product pages list the use case “UI or SVG animation”. Implementation approach and compatibility are checked separately."},{"id":"moti","reason":"A candidate to compare: both product pages list the use case “UI or SVG animation”. Implementation approach and compatibility are checked separately."}],"sources":["https://maxwellito.github.io/vivus/","https://github.com/maxwellito/vivus","https://github.com/maxwellito/vivus/blob/master/readme.md","https://github.com/maxwellito/vivus/blob/master/LICENSE","https://raw.githubusercontent.com/maxwellito/vivus/HEAD/readme.md","https://raw.githubusercontent.com/maxwellito/vivus/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"UI or SVG animation with Vivus.","inputs":["A working JavaScript; SVG project and a specific use case: UI or SVG animation.","A design, interface states, or dataset; target screens and accessibility requirements."],"steps":["Check the project's stack and version against the current Vivus documentation; add the package or the required source component.","Implement the selected workflow with the supplied data, adapting styles and states to the project.","Check the result in the target environment, remove sample data, and retain the notices required by the license."],"checks":["The example works in the chosen tech stack, including target dimensions and input errors.","Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met."]},"sources":["https://maxwellito.github.io/vivus/","https://github.com/maxwellito/vivus","https://github.com/maxwellito/vivus/blob/master/readme.md","https://github.com/maxwellito/vivus/blob/master/LICENSE","https://raw.githubusercontent.com/maxwellito/vivus/HEAD/readme.md","https://raw.githubusercontent.com/maxwellito/vivus/HEAD/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"Purpose, published primary source code/documentation, and license terms were reviewed. An example was not run in a local project.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Development library / tool","kind":"library","pricingNote":"Vivus code is available free of charge for local and commercial projects, subject to its license. This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","notes":null,"labeledSources":[{"url":"https://maxwellito.github.io/vivus/","label":"Official website"},{"url":"https://github.com/maxwellito/vivus","label":"Source code"},{"url":"https://github.com/maxwellito/vivus/blob/master/readme.md","label":"Documentation and use"},{"url":"https://github.com/maxwellito/vivus/blob/master/LICENSE","label":"License"},{"url":"https://raw.githubusercontent.com/maxwellito/vivus/HEAD/readme.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/maxwellito/vivus/HEAD/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}