Skip to content

Spinner

Use Primer::SpinnerComponent to let users know that content is being loaded.

Examples

Default

<%= render(Primer::SpinnerComponent.new) %>

Small

<%= render(Primer::SpinnerComponent.new(size: :small)) %>

Large

<%= render(Primer::SpinnerComponent.new(size: :large)) %>

Arguments

NameTypeDefaultDescription
sizeSymbol:mediumOne of :small (16), :medium (32), or :large (64).