Components
← All components

Frame Loading State

stimeo--frame-loading

Covers a Turbo frame while it loads, so nothing is pressed twice by mistake.

  • Core
  • Rails / Turbo

Handles how a Turbo frame looks while it loads. When a load starts the waiting state appears and is announced, and the content is made untouchable so the same action cannot be triggered twice. Focus sitting in content that is about to be replaced is moved out, and can be brought back when the load finishes. Even a very quick load shows the waiting state for a minimum time, so it never flickers. A failed request does not leave it stuck in the waiting state. The waiting markup and its look are yours.

running

Loaded content.

Keyboard

This component has no keyboard interactions of its own.