Skip to content

Spinner

A faint ring with a comet running round it, its tail a true fade from deep to hot.

Download
Customize

Done closes the arc into a bone ring and draws a check inside; at 16px the ring gives way to the check.

Install

npx shadcn@latest add https://obsydeui.com/r/spinner.json

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { Spinner } from '@/components/obsyde/ember/spinner/Spinner';

export function Example() {
  return (
    <Spinner label="Loading" />
  );
}

Files

Plain React, TypeScript and CSS. No dependencies. The download keeps these paths.

  • ember/spinner/Spinner.tsxcomponent
  • ember/spinner/spinner-demo.cssstyles
  • ember/spinner/spinner.cssstyles
  • ember/spinner/SpinnerDemo.tsxdemo
  • ember/status-kit/check.cssshared
  • ember/status-kit/Check.tsxshared
  • ember/status-kit/kit.tsshared
  • ember/shared/chart-kit.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
layoutLayout'sizes' | 'inline''sizes'
doneDonebooleanfalse
labelLabelstring'Loading'