Skip to content

Comments

feat: add skeleton component#524

Open
LeoDanielA01 wants to merge 1 commit intofrappe:mainfrom
LeoDanielA01:feat/skeleton
Open

feat: add skeleton component#524
LeoDanielA01 wants to merge 1 commit intofrappe:mainfrom
LeoDanielA01:feat/skeleton

Conversation

@LeoDanielA01
Copy link

What does this PR do?

Improves the Skeleton component to better support
flexible presentation requirements commonly needed
in modern UI patterns.


What is the main gain?

This change removes the need for wrapper elements
or inline style workarounds when using Skeletons,
resulting in cleaner markup and more consistent
usage across Frappe UI.


Why is this needed?

Skeletons are widely used as loading placeholders
across different UI surfaces such as user previews,
lists, and contextual components. Without sufficient
flexibility at the component level, consumers are
forced to rely on implementation-specific hacks.

This PR provides a clean, component-level solution
that improves developer experience while keeping
existing usage intact.

@siduck
Copy link
Contributor

siduck commented Jan 2, 2026

Attach some images of the UI

@LeoDanielA01
Copy link
Author

Attach some images of the UI

Before:

Screenshot 2026-01-06 091843 image

After:

image

@LeoDanielA01
Copy link
Author

@siduck Could you pls review this PR?. i've also opened few other PR's could review those as well. PR Id : #523 , #522

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.

2 participants