DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Concepts

OverviewCompositionCerberus ContextTesting

Layout

Aspect RatioBleedBoxCenterContainerContainer QueryDividerFlexFloatGridGroupLink OverlayScrollableStackWrap

Components

AccordionAdmonitionAvatarButtonCarouselCheckboxClipboardCollapsibleComboboxConfirm ModalCTA ModalDate PickerDialogFieldFieldsetFile UploaderIconButtonInputLoading StatesMarqueeMenuNotificationsNumber InputPaginationPin InputPopoverProgress IndicatorsPrompt ModalRadioRatingSelectSliderSplit ButtonSwitchTableTabsTagTextTextareaToggleTooltip

Utilities

Client OnlyDownload TriggerEnvironmentFeature FlagsFocus TrapForFormat ByteFormat NumberFormat Relative TimeFormat Relative TimeFrameHighlightJSON Tree ViewLocalePortalPresenceShowSwapsplitPropsTheme

Loading States

Loading states are used to indicate that content is being loaded.

  • npm
  • source
View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Skeletor API

To show a skeleton loading state, simply add the aria-busy attribute to the element you want to show the loading state for.

<div aria-busy="true">
  <p>This is now hidden</p>
</div>

Loading example...

Spinners

Cerberus provides a Spinner component that can be used to indicate a loading state.

Note

Spinners are built into Buttons via the Button.Icon component. This example is only beneficial use outside of buttons.

Loading example...

Customization

The Spinner component is a simple SVG element that can be styled with CSS.

Loading example...

API

Props

The Spinner component accepts the same props as an SVG element.

NameDefaultDescription
sizeA strict height and width of the Spinner.

On this page

  • Skeletor API
    • Spinners
  • Customization
  • API
    • Props
Edit this page on Github

This is a description of something.

Trash content

Trash content is a place where you can find all the content that you have deleted. You can restore or permanently delete the content from here.

Skeleton