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

Sdílet
Vložit
  • čas přidán 12. 02. 2024
  • 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

Komentáře • 30

  • @VladyslavDihtiarenko
    @VladyslavDihtiarenko  Před 4 měsíci +1

    Welcome! I just started my channel and this is the first time I make CZcams 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
    @safkatsadli1374 Před 3 měsíci +3

    Finally CZcams suggested me something very useful. Thank you sir

  • @BlueSaturnn
    @BlueSaturnn Před 16 dny

    Great video and easy to follow! Thanks man!

  • @safkatsadli1374
    @safkatsadli1374 Před 3 měsíci

    haha did it , thank you man

  • @voldemortvi4264
    @voldemortvi4264 Před 2 měsíci

    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  Před 2 měsíci +1

      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.

  • @sumitsinha995
    @sumitsinha995 Před 3 měsíci +1

    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  Před 3 měsíci

      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 Před 3 měsíci

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

  • @Dharmic_developer
    @Dharmic_developer Před 3 měsíci

    Nice vid❤

  • @u9s0e9r
    @u9s0e9r Před 3 měsíci +3

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

    • @mohitashliya8750
      @mohitashliya8750 Před 3 měsíci +2

      Yes I am also curious about this question

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  Před 3 měsíci +1

      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 Před 3 měsíci +1

      @@VladyslavDihtiarenko Thanks bro you have done your homework

    • @bubbajaydee10
      @bubbajaydee10 Před měsícem

      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

  • @sankasanjeeva1182
    @sankasanjeeva1182 Před měsícem

    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  Před měsícem

      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

  • @rtindevelops7580
    @rtindevelops7580 Před 21 dnem

    Hey Brother thank you for the amazing video, is there anyway I can connect with you? Id like to know more of how you approached different problems :)

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  Před 20 dny

      Hi, welcome to my channel! Currently, I don't have any special community or chat for my subscribers. Probably, I'll create it later. For now, you can contact me through social media. I do prefer Telegram or Instagram. Here's the links:
      t.me/Vladislav_Degtyarenko
      instagram.com/vladislavdegtyarenko/

  • @RaJat2905_
    @RaJat2905_ Před měsícem

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

  • @ahmedahmedx9600
    @ahmedahmedx9600 Před 2 měsíci

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

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  Před 2 měsíci +1

      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.