Skip to contents

Wrap an output

The one call that most applications need. It finds the shape from the output, keeps the space of the content, and shows the old content, dimmed, when the output calculates again. bones_auto() does this for every output in a UI.

withBones()
Wrap a Shiny output in a skeleton placeholder
bones_auto()
Wrap every Shiny output in a UI in a skeleton placeholder

Your own placeholder

The block to build a placeholder of your own, for withBones(skeleton = ).

bones_block()
A grey block to build your own placeholder

Placeholders on their own

A skeleton where there is no Shiny output, such as inside a renderUI() while data loads.

bones_skeleton()
Make a skeleton placeholder

Look and feel

Colours, corner radius, animation and speed, for the whole session.

bones_defaults()
Set the placeholder defaults for the session

Assets

The stylesheet and the script, for HTML that you make yourself.

bones_dependency()
The bones HTML dependency

Package

bones bones-package
bones: Content-Shaped Loading Placeholders for 'Shiny' Outputs