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

feat: ✨ new spinner component #3554

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

flixlix
Copy link
Contributor

@flixlix flixlix commented Apr 20, 2024

Screen.Recording.2024-04-20.at.15.17.22.mov

Copy link

vercel bot commented Apr 20, 2024

@flixlix is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@ruru-m07
Copy link

close #2766

{...props}
>
<div className="relative left-1/2 top-1/2 size-full">
{[...Array(12)].map((_, i) => (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

creating 12 divs inline seems like a funky way of achieving this, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah i'll admit it, that this doesn't seem like good practice, but to be fair this is how I saw most spinners from other design systems being implemented

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmawhorter any suggestions on how you would implement this?

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.

None yet

3 participants