Spinners/loading components #4638
matthewmngi
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Here's the spinner I use in my own loading component. I like it because it can be easily used inline. <svg class="inline-block h-5 w-5 animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, everyone! I am building a project and realized a component that acted as a loader/spinner would be very convenient.
What I'm talking about is something similar to this one from Bootstrap:
https://getbootstrap.com/docs/5.0/components/spinners/
Beta Was this translation helpful? Give feedback.
All reactions