saturation/uisaturation/ui
DocsComponentsBlocksPagesEmails
GitHub

Sections

IntroductionComponentsInstallationMCPThemingDesign

Components

Components

General

AvatarBadgeButtonKbdProgressSeparatorSkeletonSpin ResolveSpinnerSync ButtonTypography

Forms & Inputs

Address LookupCalendar PickerCheckboxComboboxDate PickerEmoji PickerFavicon SearchFieldInputInput GroupInput OTPRadio GroupSelectSliderSwitchTextareaToggleToggle Group

Data Display

AccordionAlertCardChartComparison SliderCredit CardData TableEmptyItemSaturation Credit CardTableTree

Navigation

BreadcrumbCommandMenubarNavigation MenuPaginationTabs

Overlays

CollapsibleContext MenuDialogDropdown MenuSheet

Layout

Button GroupFont ProviderWizard Split Layout

Feedback

Sonner

Animation & Effects

Animated GroupAnimated ListAnimated NumberBeamBlur FadeBorder TrailGlow EffectLiquid MetalLoading StateParallaxPixelProgressive BlurRippleSpotlightText EffectText Shimmer

Productivity

Agent ChatAI Chat InputCoding AgentFiltersFull CalendarKanbanNovel Editor
Docs/Components/Loading State

Loading State

Full-screen splash loader with a glowing brand logo, fake-progress bar, and shimmer text. Pair with the useLoading hook for automatic progress management.

Loading...

Installation

pnpm dlx shadcn@latest add @saturation-ui/loading-state

Tailwind v4 — Source Scanning

The public shadcn registry installs component source into your project. If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import { LoadingState } from "@/components/ui/loading-state"
import { useLoading } from "@/hooks/use-loading"
const { progress, finishLoading } = useLoading()

<LoadingState progress={progress} message="Welcome to Saturation" />

Examples

Liquid Metal

Loading...
WebGL liquid metal shader fill variant.

Loading Mark

Loading...
Standalone animated S-mark with no text or container.

API Reference

PropTypeDefaultDescription
progressnumber0Progress percentage (0–100). Drives the wave fill level of the S-logo animation.
messagestring"Welcome to Saturation"Text displayed below the S-logo, rendered via TextShimmer.
fadeOutbooleanfalseTriggers a 700ms fade-out and scale-down transition.
fullScreenbooleantrueWhen true uses min-h-screen; when false fills the parent container.
classNamestring—Additional CSS classes on the root element.
PreviousLiquid MetalNextMenubar

On This Page

  • Installation
  • Usage
  • Examples
  • Liquid Metal
  • Loading Mark
  • API Reference

Welcome to Saturation

Welcome to Saturation