Vaadin Skeleton

What is the best way to implement skeleton in Vaadin flow. A skeleton looks like the image from primereact

My way will be to create a custom component that will use this external library. Is there a better way?

That would be the best way; or build your view in a way that it can load fast (e.g. by loading data asynchronous with Push)

It depends a bit of what you’re trying to achieve. I was using something similar to this to show some charts that required data that were slow to fetch: How do I lazily initialize components - Vaadin Cookbook

I’m planning when I will have some time to create an example in Flow for an accessible skeleton: More Accessible Skeletons — Adrian Roselli

I don’t know when I will have some time :slightly_smiling_face: