Skip to content

Bigger version of the InlineSpinner #443

@nlopin

Description

@nlopin

Describe the feature you'd like

The current version of the spinner has two sizes - small and medium.

We should have a bigger variant so the spinner can be used on a bigger card while the data is loading.
It could have the following style:

width: 2rem;
height: 2rem;
border-width: .175rem;

Describe alternatives you've considered

The alternative to an extra size is to allow the user to pass a number to the size property. This would work but there are two downsides:

  • it is harder to keep the size of different spinners consistent across pages and projects
  • the size is mapped to three properties: height, width and border-width. We need extra logic to calculate the border width based on an arbitrary size in pixels or rems

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions