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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.พ. 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

ความคิดเห็น • 28

  • @safkatsadli1374
    @safkatsadli1374 2 หลายเดือนก่อน +3

    Finally TH-cam suggested me something very useful. Thank you sir

  • @VladyslavDihtiarenko
    @VladyslavDihtiarenko  4 หลายเดือนก่อน +1

    Welcome! I just started my channel and this is the first time I make TH-cam 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 2 หลายเดือนก่อน

    haha did it , thank you man

  • @Dharmic_developer
    @Dharmic_developer 2 หลายเดือนก่อน

    Nice vid❤

  • @sankasanjeeva1182
    @sankasanjeeva1182 16 วันที่ผ่านมา

    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  12 วันที่ผ่านมา

      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

  • @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  หลายเดือนก่อน +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 2 หลายเดือนก่อน +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  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.

  • @u9s0e9r
    @u9s0e9r 2 หลายเดือนก่อน +3

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

    • @mohitashliya8750
      @mohitashliya8750 2 หลายเดือนก่อน +2

      Yes I am also curious about this question

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  2 หลายเดือนก่อน +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 2 หลายเดือนก่อน +1

      @@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

  • @rtindevelops7580
    @rtindevelops7580 2 วันที่ผ่านมา

    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  วันที่ผ่านมา

      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_ หลายเดือนก่อน

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

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  หลายเดือนก่อน

      th-cam.com/video/CvCiNeLnZ00/w-d-xo.html everything from Dave Gray is a gem 💎

    • @RaJat2905_
      @RaJat2905_ หลายเดือนก่อน +1

      Thanks 🙂

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  หลายเดือนก่อน

      @@RaJat2905_ 😎

  • @ahmedahmedx9600
    @ahmedahmedx9600 2 หลายเดือนก่อน

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

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  2 หลายเดือนก่อน

      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.