ds_skeleton: Skeleton Component

View source: R/ds-misc.R

ds_skeletonR Documentation

Skeleton Component

Description

Create a loading skeleton placeholder using Designsystemet styles.

Usage

ds_skeleton(variant = "text", width = NULL, height = NULL, class = NULL)

Arguments

variant

Skeleton variant ("text", "circle", "rectangle")

width

Width of the skeleton

height

Height of the skeleton

class

Additional CSS classes

Value

A Shiny tag object

Examples

ds_skeleton(variant = "text", width = "200px")
ds_skeleton(variant = "circle", width = "50px", height = "50px")

shinyds documentation built on Aug. 22, 2026, 5:08 p.m.