Skip to main content

Skelia

Beautiful loading states for every interface.

Skelia helps teams create consistent skeleton loading states across products, frameworks, and platforms. Use the lightweight CSS core directly, or use a framework package that composes the same primitives with typed components.

Choose A Package​

PackageUse WhenStartAPI And Examples
@skelia/coreYou want CSS primitives that work in any web app.Install CoreUsage, Examples, Theming
@skelia/reactYou want typed React components over the core CSS system.Install ReactUsage, Components, Examples
@skelia/vueYou want typed Vue components over the core CSS system.Install VueUsage, Components, Examples
@skelia/svelteYou want typed Svelte components over the core CSS system.Install SvelteUsage, Components, Examples

Quick Start​

Core CSS​

npm install @skelia/core
import "@skelia/core/index.css";

React​

npm install @skelia/react
import "@skelia/react/styles.css";
import { Skeleton, SkeletonAvatar, SkeletonLine } from "@skelia/react";

Vue​

npm install @skelia/vue
import "@skelia/vue/styles.css";
<script setup lang="ts">
import { Skeleton, SkeletonAvatar, SkeletonLine } from "@skelia/vue";
</script>

Svelte​

npm install @skelia/svelte
<script lang="ts">
import "@skelia/svelte/styles.css";
import { Skeleton, SkeletonAvatar, SkeletonLine } from "@skelia/svelte";
</script>

Accessibility​

Skeletons are visual placeholders. Put aria-busy="true" on the loading region, add short loading text with sk-sr-only, and leave visual skeleton shapes hidden from assistive technology.