Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justalever/custom_turbo_progress

Custom loading bars with Rails and Hotwire
https://github.com/justalever/custom_turbo_progress

hotwire-rails hotwire-stimulus hotwire-turbo rails stimulus turbo

Last synced: 26 days ago
JSON representation

Custom loading bars with Rails and Hotwire

Awesome Lists containing this project

README

        

![loading-bars-rails](https://github.com/user-attachments/assets/48a75100-b7aa-4a10-92c2-9dbe2edb6b9c)

# Custom progress bars with Rails

The Turbo Rails progress bar is a subtle yet powerful feature that enhances user experience by providing visual feedback during page loads.

By default, it appears as a slim blue bar at the top of the page for requests that take longer than 500ms. However, with a few simple tweaks, you can transform this element better to match your application's design and brand identity.

This tutorial will cover the basics and give you an idea of how to add a completely custom loading experience via Stimulus and Tailwind CSS.

- [Read the blog post](https://webcrunch.com/posts/custom-loading-bars-rails)
- [Watch the video tutorial](https://youtu.be/-jsba52ywSc)

Follow:

- [X](https://x.com/webcrunchblog)
- [YouTube](https://www.youtube.com/user/webcrunch?sub_confirmation=1)

Learn:

- [webcrunch.com](https://webcrunch.com)
- [hellorails.io](https:://hellorails.io)
- [hellohotwire.com](https://hellohotwire.com)