Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The Vivus is a module that aims to integrate Vivus.js library with Drupal. Provides SVG animate, Improve site interactivity with awesome animations.

Overview

Vivus module, bringing your Drupal SVGs to life!

Vivus is a lightweight JavaScript class (with no dependencies) that allows you to animate SVGs, giving them the appearance of being drawn. There are a variety of different animations available, as well as the option to create a custom script to draw your SVG in whatever way you like.

Features

  • Scenarize feature allows you to script the animation of your SVG
  • It's possible to override the animation of each path and/or the entire SVG
  • Every path element is drawn at the same time with a small delay at the start
  • Each line is drawn synchronously
  • Each path element is drawn one after the other
  • Vivus will provide a warning in the console when it detects stroke scaling

Usage

Enable Vivus module for code usage.

Example SVG:

<svg id="my-svg">
  <path...>
  <path...>
  <path...>
</svg>

Add Javascript in your module/theme JS file:

<script>
  new Vivus('my-svg', {duration: 200}, myCallback);
</script>

Enable Vivus UI module for user interface.
Go to "admin/structure/vivus" to add animation and manage few options.

How to set the SVG ID in Illustrator
https://www.drupal.org/project/vivus/issues/3405063

Installation

Please view the project's README.md for detailed installation instruction.

Requirements

Download Vivus.js Library Latest Version from Github.

  • Textimate ( Text + Animate )
    Provides text animation, enhancing site interactivity with awesome effects. Effortlessly transform static text into mesmerizing animations.
  • Splitting.js
    Allows you to creates elements and adds CSS Variables for split words & characters! (lines, items, grids, images, more!) to unlock amazing possibilities for style and animating text, grids, and more!.
  • Animate CSS
    Allows you to makes cross-browser animations for use in your web projects. Great for emphasis, home pages, sliders, blocks with cool animation effects.

Supporting

Please let me know if a new feature is needed or is there any issue and feedback. You can announce it in the Vivus Issues section.

Animations can improve the UX of an interface, but keep in mind that they can also get in the way of your users!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Oct 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable Jul 9, 2024
1.0.2 Stable Jun 9, 2024
1.0.1 Stable Nov 9, 2023
1.0.x-dev Dev Nov 8, 2023
1.0.0 Stable Oct 18, 2023