Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Component Suggestion: Spinner/Loader #88

Open
olavurdj opened this issue Sep 28, 2023 · 3 comments
Open

Component Suggestion: Spinner/Loader #88

olavurdj opened this issue Sep 28, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@olavurdj
Copy link

It would be convenient to have a spinner or loader component to indicate that items are loading in the Admin UI in a consistent way.

@kasperkristensen
Copy link
Collaborator

Hi @olavurdj, thanks for the suggestion. What we do ourselves is to use the <Spinner /> icon from @medusajs/icons, and slap a className="animate-spin" on it. But might make sense to extract this into a component 👍

@kasperkristensen kasperkristensen added the enhancement New feature or request label Sep 28, 2023
@olavurdj
Copy link
Author

Could be useful with at variation with a loading message as well - just to keep it consistent. :)

Sorry for slight off topic, but is there any roadmap/plan for upcoming components? I'd be happy to contribute if possible.

@kasperkristensen
Copy link
Collaborator

@olavurdj There aren't any roadmap for this project atm. Components are added ad-hoc if we see the need for adding new ones. But if/when we have a backlog of components we want to add, I'll make sure to add them as issues, we always appreciate contributions 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants