{"schemaVersion":1,"id":"rough-notation","name":"Rough Notation","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/rough-notation/","officialUrl":"https://roughnotation.com/","isCatalog":false,"description":"Animated SVG annotations around text: underlines, outlines, and highlights in a hand-drawn style for interfaces and presentations.","tasks":["UI or SVG animation","Smooth website content transitions","Underline or outline important text with an animated SVG annotation","Highlight an explanation in an interface or web presentation in a hand-drawn style"],"categoryIds":["motion"],"subcategoryIds":["motion.vector"],"tags":["JavaScript","SVG","vector"],"aliases":["rough-stuff/rough-notation"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Rough Notation 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","Underline or outline important text with an animated SVG annotation"],"considerInstead":["When choosing for this topic, compare Rough Notation with Vivus. 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 Rough Notation 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":["Call annotate for the DOM element with a highlight type, then show; create groups through annotationGroup."],"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.","SVG is inserted as the element's sibling, so tables may require a wrapper. multiline is supported only for inline elements."],"faq":[{"question":"What can you use for free in Rough Notation?","answer":"Rough Notation code is available free of charge for local and commercial projects, subject to its license."},{"question":"What additional costs might arise with Rough Notation?","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 Rough Notation?","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 Rough Notation?","answer":"Check the project's stack and version against the current Rough Notation 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 show highlights in sequence?","answer":"annotationGroup groups annotations and starts them sequentially. An individual annotation configures its type, color, animationDuration, and animate flag."},{"question":"How do I disable drawing animation or support line wrapping?","answer":"animate: false disables animation. multiline: true handles several lines in an inline element; for complex table structure, the README recommends wrapping the target in span/div."}],"related":[{"id":"vivus","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://roughnotation.com/","https://github.com/rough-stuff/rough-notation","https://github.com/rough-stuff/rough-notation/blob/master/README.md","https://github.com/rough-stuff/rough-notation/blob/master/LICENSE","https://raw.githubusercontent.com/rough-stuff/rough-notation/HEAD/README.md","https://raw.githubusercontent.com/rough-stuff/rough-notation/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"UI or SVG animation with Rough Notation.","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 Rough Notation 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://roughnotation.com/","https://github.com/rough-stuff/rough-notation","https://github.com/rough-stuff/rough-notation/blob/master/README.md","https://github.com/rough-stuff/rough-notation/blob/master/LICENSE","https://raw.githubusercontent.com/rough-stuff/rough-notation/HEAD/README.md","https://raw.githubusercontent.com/rough-stuff/rough-notation/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":"Rough Notation 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://roughnotation.com/","label":"Official website"},{"url":"https://github.com/rough-stuff/rough-notation","label":"Source code"},{"url":"https://github.com/rough-stuff/rough-notation/blob/master/README.md","label":"Documentation and use"},{"url":"https://github.com/rough-stuff/rough-notation/blob/master/LICENSE","label":"License"},{"url":"https://raw.githubusercontent.com/rough-stuff/rough-notation/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/rough-stuff/rough-notation/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}