Skip to contents

Usage

Skeleton(...)

Arguments

...

Props to pass to the component.

Value

Object with shiny.tag class suitable for use in the UI of a Shiny app.

Details

  • animation 'pulse'| 'wave'| false
    Default is 'pulse' The animation. If false the animation effect is disabled.

  • children node
    Default is - Optional children to infer width and height from.

  • classes object
    Default is - Override or extend the styles applied to the component.See CSS classes API below for more details.

  • component elementType
    Default is - The component used for the root node. Either a string to use a HTML element or a component.

  • height number| string
    Default is - Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.

  • sx Array<func| object| bool>| func| object
    Default is - The system prop that allows defining system overrides as well as additional CSS styles.See the sx page for more details.

  • variant 'circular'| 'rectangular'| 'rounded'| 'text'| string
    Default is 'text' The type of content that will be rendered.

  • width number| string
    Default is - Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.