Skip to content

[Discuss] Skeleton component and usage #3474

@snide

Description

@snide

@bevacqua reminded us that folks are using <EuiLoadingContent lines={3} /> quite a bit downstream. We've also seen some usage in the SIEM apps that @andrew-goldstein and @XavierM put together. We had a discussion as a team about how to handle these types of loading states and came away with the following discussion points:

We need more skeleton primitives for off the cuff usage

To "fake" components we probably need skeleton solutions to the following:

  • Images
  • Avatars
  • Text of various sizes
  • "Blocks"

Long term, it might be nice to build skeleton modes into the components directly

We rambled a little bit about whether EUI components should actually have a skeleton boolean prop that would just automatically fake content as needed.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    design decisionUse this to flag an item that needs input from the design team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions