shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Packages
Search packages... ⌘K
  • Data & Persistence
    • Databases 3
    • Object Storage 1
    • File Formats 2
    • Enumerations 2
    • Content 1
    • Codegen 2
  • System Integration
    • Secrets 1
    • CLI Tools 5
    • Media Processing 2
    • Adapters 2
  • UI & Components
    • Primitives 1
    • Blocks 1
    • Sections & Layouts 1
    • Entities 1
    • Media 1
    • Utilities 1
    • State & Presenter 1
    • Branding & Style 1
  • Game Engine
    • Framework 1
    • Engine 2
    • Presets 1
    • Vendor 1
Packages/ UI & Components/ Utilities/ Core Ui Utilities
SvelteKit Package

core-ui-utilities

UI utilities — loading states, page transitions, skeleton placeholders

SvelteKit Ready UI
Loading States svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script>
  import { DataLoadingState, Skeleton }
    from '@sbx/core-ui/components/utilities';

  let { data } = $props();
</script>

<DataLoadingState loading={!data.items} error={data.error}
  empty={data.items?.length === 0}>
  {#each data.items as item}
    <ItemCard {item} />
  {/each}
</DataLoadingState>

<!-- Or manual skeleton layout -->
<Skeleton width="100%" height="200px" rounded />
<Skeleton width="60%" height="1.2rem" />

About

Cross-cutting utility components for loading states and transitions. DataLoadingState provides a unified loading/error/empty pattern, PageTransition handles route change animations, and Skeleton renders placeholder shimmer effects during data fetching.

Public API

NameKindSignature
DataLoadingStatetypeDataLoadingState.svelte — loading, error, empty, children slot
PageTransitiontypePageTransition.svelte — key, duration, direction
SkeletontypeSkeleton.svelte — width, height, rounded, animated

Dependencies

Imported By (2)

core-ui-blocks SvelteKit Ready

Composite UI blocks — NavRail, CommandPalette, ChatWidget, FileTree, Editors

svelte-5componentsnavigationeditorsdata-displaypresenter-driven
15 exports 2 deps
core-ui-sections SvelteKit Ready

Page sections & layouts — AdminTemplate, ContentSidebar, EntityDetail, Canvas

svelte-5layoutsidebarentity-vieweradmin-templatecanvas
16 exports 2 deps

Related Packages

core-ui-primitives SvelteKit Ready

Base UI primitives — Button, Input, Modal, Badge, Avatar, Tooltip, Select

svelte-5componentsprimitivesform-inputsdesign-system
13 exports 2 deps

Source

@sbx/core-ui/components/utilities
svelte-5loadingskeletontransitionserror-handling
shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |