Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skeleton loader #186

Closed
ExordiumX opened this issue Sep 5, 2021 · 9 comments
Closed

Add skeleton loader #186

ExordiumX opened this issue Sep 5, 2021 · 9 comments

Comments

@ExordiumX
Copy link

A nice addition to this ui kit would be a skeleton loader, such as this one https://vuetifyjs.com/en/components/skeleton-loaders/#usage

@Hugo01
Copy link

Hugo01 commented Sep 5, 2021

Would be nice but tailwind already has one that kinda works
https://tailwindcss.com/docs/animation
Checkout the "pulse" animation, could be used as skeleton loader

@devopg
Copy link

devopg commented Sep 6, 2021

Would be nice but tailwind already has one that kinda works
https://tailwindcss.com/docs/animation
Checkout the "pulse" animation, could be used as skeleton loader

i think about skeleton without code
like this:
<div class="w-4 h-15 skeleton-type-1"></div>
and you receive one of these:
image

@saadeghi
Copy link
Owner

saadeghi commented Sep 6, 2021

@Hugo01 That would be cool but I think there's a high chance that the real layout don't match one of these 👀

@tom-asmblr
Copy link

Just to add a +1 - we'd have a real use for these types of components as well. Often when designing a page, the actual component is rendered with data in the application, but in the design view we use a placeholder, a variety of placeholders would be perfect for this.

@atresnjo
Copy link
Contributor

That would be nice. Would be really cool to have something like skeleton-circle, skeleton-square, skeleton-progress etc

@saadeghi
Copy link
Owner

Yeah, that's probably the most efficient way 🤔

  • skeleton (for rectangle)
  • skeleton-text
  • skeleton-circle

And anything can be achieved using width/height utilities and flexbox/grid

@fenilli
Copy link

fenilli commented Feb 25, 2022

Maybe add as an modifier to the components that are most likely used for those? Input, Avatar, Button and so on

So something like btn btn-primary skeleton, skeleton would use sizing and all from the btn, but remove color and text to add pulse.

@nandi95
Copy link
Contributor

nandi95 commented Aug 2, 2023

What tailwind doesn't have is a shimmer animation, that could be added here maybe?
https://codepen.io/maoberlehner/pen/bQGZYB

@saadeghi
Copy link
Owner

Fixed in daisyUI 4

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

No branches or pull requests

8 participants