Components/LayoutSkeleton
Since 1.0.0BETA

LayoutSkeleton

Layout-level skeleton placeholder

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

LayoutSkeleton

Layout-level placeholder for page or panel loading.
Status: Beta

Demo

Layout Placeholder

The wrapper controls the size.

Demo will load when visible.
<template>
  <div style="height: 240px;">
    <TxLayoutSkeleton />
  </div>
</template>

Basic Usage

EXAMPLE.VUE
<template>
  <div style="height: 240px;">
    <TxLayoutSkeleton />
  </div>
</template>

Usage Notes

  • The wrapper controls size and layout ratio.
  • Ideal for page-level loading with consistent rhythm.
  • Content line widths use a fixed sequence, keeping SSR, hydration, and tests deterministic.

API (Brief)

PropertyTypeDefaultDescription
--No extra props; size follows the container

Interaction Contract

  • TxLayoutSkeleton has no props, events, or slots.
  • The component always renders a header, 6 sidebar items, and 8 content lines.
  • Content line widths are deterministic and do not depend on runtime randomness.

Composite Patterns

Panel Placeholder

Skeleton paired with card containers.

Demo will load when visible.
<template>
  <TxCard>
    <TxLayoutSkeleton />
  </TxCard>
</template>