primitives icon indicating copy to clipboard operation
primitives copied to clipboard

[New Primitive] Spinner

Open eryue0220 opened this issue 1 year ago • 3 comments

Feature request

Overview

image

Examples in other libraries

https://flowbite-react.com/docs/components/spinner

Who does this impact? Who is this for?

Some cases when waiting for http request response.

Additional context

eryue0220 avatar Sep 02 '24 02:09 eryue0220

Spinner of course exists in Radix Themes.

I was very surprised to find it missing from the primitives.

isaachinman avatar Sep 12 '24 09:09 isaachinman

Hi @isaachinman

So is there any about plan about this?

Or could I have a try about it?

eryue0220 avatar Oct 08 '24 08:10 eryue0220

Not sure what you mean. I am not associated with Radix at all, just another user.

The Radix Themes spinner code is here:

https://github.com/radix-ui/themes/blob/main/packages/radix-ui-themes/src/components/spinner.tsx

Quite easy to recreate.

I was just surprised to find a spinner omitted from the primitives, as it seems to uncontroversially be a primitive UI element.

isaachinman avatar Oct 08 '24 09:10 isaachinman

@chaance Mind letting us know why?

isaachinman avatar Jan 25 '25 01:01 isaachinman

It's not planned at the moment, and that's why it's closed :)

For the moment we have limited bandwidth. There are a few new components we're planning and will discuss when we're ready. Folks are free to weigh in on what they'd like to see in discussions, but issues are for issues and I'm trying to clean up our backlog to make it easier for triaging.

chaance avatar Jan 25 '25 02:01 chaance