Skip to content

fix #7 Loader#11

Open
Rakshat28 wants to merge 7 commits intoAyush0316:mainfrom
Rakshat28:fix/loader-7
Open

fix #7 Loader#11
Rakshat28 wants to merge 7 commits intoAyush0316:mainfrom
Rakshat28:fix/loader-7

Conversation

@Rakshat28
Copy link

@Rakshat28 Rakshat28 commented Jul 22, 2025

added a custom Loader component.
Fixes #7

@Ayush0316
Copy link
Owner

  1. Always attach screenshots whenever you implement anything related to the UI.
  2. If you import a new package, make sure to push your package.json file as well.
  3. Some imports are missing (e.g., motion).
  4. The loader UI is not as per the expectations — I don't want just a simple spinning wheel.
    You can refer to this article for help. https://dev.to/j471n/glassmorphism-loading-animation-4n2m
    Just don't copy the same

@Rakshat28
Copy link
Author

Updates :

Implementation examples :
image

Pulse Loader -

pulseLoader.mp4

Glass Morph Loader -

glassmorphloader.mp4

Dot Loader -

dotloader.mp4

Closes : #7

Copy link
Owner

@Ayush0316 Ayush0316 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull in the latest main branch. The color palette and some animations you might need are already defined there — please use them instead of creating your own.

@Rakshat28
Copy link
Author

used the utility function from utils/utils, tried to add a text feature to the Loader but did not found it visually pleasing so removed it. Resolved merge conflicts.

@Ayush0316
Copy link
Owner

  1. The variant pulse is only returning an empty div, which is not visible on the screen. (Also, it doesn't look that great in the video, so let's just stick with only two types: dots and Glassmorphic.)
  2. The default / Glassmorphic loader is only showing a single circle. Increase the blurriness of the other circle so that it's properly visible and moving.
  3. The util.js file is in the utils folder, not the lib folder. Please pull the latest changes from the main branch.
  4. In fullscreen mode, the background is too blurred — reduce the blur slightly.

@Rakshat28
Copy link
Author

Glassmorph Loader :
image

Reduced the background blur from backdrop-blur-sm to backdrop-blur-[2px]

@Ayush0316
Copy link
Owner

image

This is how your loader is showing when I tried to use it. Chech why it is not animating properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a reuseable loader component

2 participants