Skeleton

A placeholder for loading content.

Installation

Install the component package, shared coss-svelte theme, and Bits UI peer.

npm install coss-svelte @coss-svelte/theme bits-ui

Usage

Import the Svelte component exports directly from the package.

import { Skeleton } from "coss-svelte";

Anatomy

Skeleton exposes a single component export for the current implementation.

API Reference

Skeleton

A placeholder for loading content.

children : Snippet<[]>

Inherits from Svelte <div> attributes.

Implementation Details

Status
Stable
Foundation
native
Category
Feedback & Status
Particles
2