Elegant Text Reveal Effect using React and Framer Motion | Letter-By-Letter Text Animation

Elegant Text Reveal Effect using React and Framer Motion.Letter-By-Letter Text Animation.
In This tutorial I'll be teaching you how to create beautiful letter-by-letter text reveal animation. We'll use React and Framer Motion library for the declarative approach on defining animations.
#WebDev #Javascript #React #Animation #React #TypeScript #FramerMotion #TextAnimation #Tutorial #TextReveal #JS

Пікірлер: 26

  • @VladyslavDihtiarenko
    @VladyslavDihtiarenko4 ай бұрын

    Welcome! I just started my channel and this is the first time I make KZread tutorials. If you find this video helpful, consider hitting the like button and subscribe to my channel. This will help me to stay motivated in the long run. Btw, I'd be more than happy if you share your suggestions and tips on how I can make my tutorials better. Thanks a lot!

  • @safkatsadli1374
    @safkatsadli13742 ай бұрын

    Finally KZread suggested me something very useful. Thank you sir

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    2 ай бұрын

    You're very welcome!

  • @safkatsadli1374
    @safkatsadli13742 ай бұрын

    haha did it , thank you man

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    2 ай бұрын

    🔥

  • @sankasanjeeva1182
    @sankasanjeeva118213 күн бұрын

    Nice video 😍. One thing, if we use char as the key it will thow an error saying "Encountered two children with the same key" since there could be same letters. Instead we can use React.Children.map(chars, char => {char})

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    9 күн бұрын

    Thanks for sharing your advice! Evenmore, we can use indexes for two reasons: 1) Our text is a static lightweight DOM content that we don't expect to change 2) React actually uses indexes for key attrubute as a fallback

  • @Dharmic_developer
    @Dharmic_developer2 ай бұрын

    Nice vid❤

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    2 ай бұрын

    Thanks!

  • @sumitsinha995
    @sumitsinha9952 ай бұрын

    Hey pal, make more videos like this. Also, could you provide a sheet in which the generally used animations are listed? It's hard to find them by name.

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    2 ай бұрын

    Hi and welcome to my channel! While searching for animations, I noticed that people tend to name them as they please. There doesn’t seem to be a standardized set of animation names.

  • @sumitsinha995

    @sumitsinha995

    2 ай бұрын

    @@VladyslavDihtiarenko thanks pal for replying but can you ping me common ones.And where you learned from.

  • @voldemortvi4264
    @voldemortvi4264Ай бұрын

    oh man the video is so good and i have learned few things from it , may i ask how did you learn Regex because im having hard time learning it

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    Ай бұрын

    This was the most disgusting theme I had ever encountered. One time I even got a burnout while trying to understand regex.😂 Start with little steps towards learning it, like 5-10 mins a day. I recommend to google "freeCodeCamp regex", they have really good articles.

  • @u9s0e9r
    @u9s0e9r2 ай бұрын

    I wonder if having every single character placed inside a span tag affect SEO and indexation?

  • @mohitashliya8750

    @mohitashliya8750

    2 ай бұрын

    Yes I am also curious about this question

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    2 ай бұрын

    I'm also wondering... After doing some research, I've seen lots of discussions about this on Reddit, Stackoverflow, and other places. Most people say that the element doesn't affect SEO. However, they mostly guessing, so they not 100% sure :)

  • @mohitashliya8750

    @mohitashliya8750

    2 ай бұрын

    @@VladyslavDihtiarenko Thanks bro you have done your homework

  • @bubbajaydee10

    @bubbajaydee10

    Ай бұрын

    You add a duplicate span tag for screen readers only, making it invisible. You can use the sr-only tailwind utility class for reference . Wrap a Span over the split span tags and label it aria hidden to screen readers don’t read the individual chars

  • @RaJat2905_
    @RaJat2905_Ай бұрын

    Hey pal, I wish to learn MERN full Stack web development. So, please suggest me appropriate course for MERN

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    Ай бұрын

    kzread.info/dash/bejne/dap3y7CefNHAYJM.html everything from Dave Gray is a gem 💎

  • @RaJat2905_

    @RaJat2905_

    Ай бұрын

    Thanks 🙂

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    Ай бұрын

    @@RaJat2905_ 😎

  • @ahmedahmedx9600
    @ahmedahmedx9600Ай бұрын

    Why creating bunch of spans, can we just do it without creating lot of span for each character ?

  • @VladyslavDihtiarenko

    @VladyslavDihtiarenko

    Ай бұрын

    I haven't found any other way to handle animation for each character. Because of splitting text into individual HTML element, we are able to manipulate them with Javascript to perform CSS transitions. The element itself is just a markup element with no semantic meaning. I guess you've got SEO concerns, however after making a research, I found that It doesn't hurt search engine rankings. It's important to note that even GSAP's SplitText function uses this method.