A CSS & Javascript Library for Fancy Text Animations | tacj

SplitText tacj is a JavaScript library that splits text into parts such as lines, words, and characters and animates them character by character.

javascript text animation, simple javascript text animation, javascript text animation library, text animation javascript, anime js text animation, cool javascript effects codes

How to make use of it:

1. Install and import tacj.

$ npm i tacj
import tacj from 'tacj/tacj.js'
import 'tacj/tacj.css'

2. Or load the JavaScript and CSS files directly into the document.

<link rel="stylesheet" href="tacj.css" />
<script src="tacj.js"></script>

3. Divide the text into lines, words, and letters.

<p>Any Text Here</p>

4. The library does not allow any HTML tags inside the paragraph element. You can use the following syntax to format your text.

[Bold Text]
{Italic Text}
_Text With Underline_
First Line^Second Line

5. Move the text and select the type of movement.

    type: "typing", // or sendColors
  () => alert("Fired when the animation is finished!")

6. Animation composition.

    type: "typing",

    // how many times to repeat the animation
    time: 7, 

    // duration of the animation
    duration: 0.5,

    // text color
    color: 'red',

    // make letters jump
    jump: -5,

    // any valid transform value
    transform: 'translateY(5px) rotate(-10deg)', 

    // apply shadows to the text
    textShadow: "2px 2px orange"


Fancy Text Animation In JavaScript, SplitText Plugin/Github, text animation css, floating text animation css

javascript text animation library

See Demo And Download

Official Website(Yishay666): Click Here

This superior jQuery/javascript plugin is developed by Yishay666. For extra Advanced Usages, please go to the official website.

Related Posts


How to Create a Simple Cookie Banner Consent Using Bootstrap 4

Cookie Consent Popup Javascript – Quick and simple tutorial for creating a simple Bootstrap cookie banner. If you have a website or blog with people visiting or…


Create Custom HTML Terminals With Pure JavaScript | shell.js

Custom HTML Terminals is A JavaScript library to create HTML terminals on web pages. The shell js JavaScript library offers a straightforward method to create Ubuntu, OS X,…


Bootstrap Alert, Confirm, and Flexible Dialog Boxes | Bootbox

Bootbox.js is a small JavaScript library that allows you to create programming dialogs using Bootstrap templates, without having to worry about creating, managing, or removing any required…


An Accessible Touch-enabled Slider Web Component | fg-carousel

fg-carousel Slider – A simple & modern slider web component to create versatile, accessible, touch-enabled picture carousels utilizing CSS scroll snap, Custom Element, and Intersection Observer API….


A Lightweight and Efficient Tags Input Component in Vanilla JS | tagify

tagify transforms an input field or textarea into a tags component, in an easy and customizable way, with great performance and a small code footprint, full of…


A Lightweight Library to Copy Text to Clipboard | CopyJS

CopyJS is a lightweight JavaScript library that allows you to copy plain text or HTML content to the clipboard. Must Read: Tiny Library for Copy Text In…