React Animated Sidebar Indicator | ReactJS Sidebar | ReactJS SASS

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • React Animated Sidebar Indicator | ReactJS Sidebar | ReactJS SASS
    In this video, we are going to make sidebar with animated indicator in ReactJS.
    Don't forget to click the like button and share the video with your friends if you found the video useful.
    Make sure to SUBSCRIBE for more AWESOME videos like this!
    🔴 STARTER REPO
    github.com/trananhtuat/animat...
    🔴 CONTACT
    Facebook: / trananh2001
    Github: github.com/trananhtuat
    🔴 TIMESTAMP
    00:00 - Demo
    00:09 - Setup project
    01:07 - Make app layout
    04:47 - Make sidebar
    🔴 SOURCE CODE
    github.com/trananhtuat/animat...
    🔴 REFERENCE
    - Create react app: create-react-app.dev/
    - SASS: sass-lang.com/
    - Boxicons: boxicons.com/
    - Figma: www.figma.com/
    - Google font: fonts.google.com/
    🔴 MORE AWESOME VIDEOS
    / tuattrananh
    --------------------------
    #tuattrananh #ReactJS #SASS #Sidebar #AnimatedSidebar #ReactSidebar #AdminDashboard #adminpanel #reactadmin #HTML #CSS #JavaScript #SCSS #React

Комментарии • 23

  • @anuj7286
    @anuj7286 2 года назад +1

    Great tutorial, thanks!

  • @solaaar3
    @solaaar3 2 года назад

    great tutorial, u deserve more subscribers, keep doing that good work!yo

  • @shinshinremix6324
    @shinshinremix6324 2 года назад

    video hay. mong bạn ra nhiều video hơn nữa

  • @TinhNguyen-ii9zy
    @TinhNguyen-ii9zy 2 года назад

    videos hay đấy. sao bạn ko vừa làm vừa nói luôn cho mn dễ hiểu. cám ơn bạn đã chia sẽ video bổ ích

  • @forexlearningwithkhizarhay3952
    @forexlearningwithkhizarhay3952 2 года назад

    is this sidenav responsive too ?

  • @ai-oo9ls
    @ai-oo9ls 2 года назад

    làm theo cách này nếu muốn chọn 1 cái nhưng không muốn nó chuyển trang thì làm sao a

  • @wrecktorestore1780
    @wrecktorestore1780 Год назад +1

    hi sir, its very helpful to my project, I need some dropdown in this side bar, can you please share some relevant code for dropdown in side bar option.

    • @tuattrananh
      @tuattrananh  Год назад

      ruclips.net/video/XwnZLgIfIvg/видео.html

  • @TSGGaming7803
    @TSGGaming7803 2 года назад

    bro can u make themes for blogger plz can u drop some theme for bloggers

  • @sourishw.5865
    @sourishw.5865 Год назад

    What is the license for the tutorial you provide? May I use this in my project? (Are you releasing under MIT license?)

  • @NhatNguyen-ej6ls
    @NhatNguyen-ej6ls 2 года назад

    mấy video sau anh kết hợp thêm mấy cái loading cho đẹp

  • @juniorsemerzier660
    @juniorsemerzier660 2 года назад

    Tuat Tran Anh, i am a fan of your works. How about to make a menu with submenu!

  • @luantran7118
    @luantran7118 Год назад +1

    trong video react dashboard admin của a cũng có đoạn tương tự chỗ làm cho nó active dựa theo route ý a, có đoạn:
    const Sidebar = props => {
    const activeItem = sidebar_items.findIndex(item => item.route === props.location.pathname)
    return (




    {
    sidebar_items.map((item, index) => (



    ))
    }

    )
    }
    e ko hiểu chỗ item.route === props.location.pathname, chỗ props.location.pathname thì props này lấy ở đâu a, lấy từ layout.jsx của a ạ?
    const Layout = () => {
    const themeReducer = useSelector(state => state.ThemeReducer)
    const dispatch = useDispatch()
    useEffect(() => {
    const themeClass = localStorage.getItem('themeMode', 'theme-mode-light')
    const colorClass = localStorage.getItem('colorMode', 'theme-mode-light')
    dispatch(ThemeAction.setMode(themeClass))
    dispatch(ThemeAction.setColor(colorClass))
    }, [dispatch])
    return (

    (









    )}/>

    )
    }

    • @tuattrananh
      @tuattrananh  Год назад +1

      đúng rồi em, ở đoạn này , props lấy từ thằng Route nên trong nó có location

    • @luantran7118
      @luantran7118 Год назад

      @@tuattrananh có cách nào khác ko a nhỉ, ví dụ đặt id cho từng thằng có route đó, nếu id trùng thì nó active, e cũng làm như a nhưng hiện tại nó báo undefine ko tìm dc, có thể do e config route ko giống a. Chỗ Sidebar e ko nhận prop ở layout, mà e chỉ có chỗ sidebarItem nhận props từ Sidebar

  • @duongthainhat7290
    @duongthainhat7290 2 года назад

    em xin extension VS code gõ nhanh 'rafe' là ra cái khung component luôn ạ

    • @tuattrananh
      @tuattrananh  2 года назад

      ES7+ React/Redux/React-Native snippets

  • @littleerror6501
    @littleerror6501 Год назад +1

    not a responsive sidebar...