---
title: "Skeleton (BloomSkeleton) — Bloom UI Primitive"
description: "Used to show a placeholder while content is loading with a subtle pulse animation."
category: "Layout & Structure"
url: "https://bloom-platform-ten.vercel.app/ui/skeleton"
component_name: "BloomSkeleton"
pub_package: "bloom_ui"
cli_command: "bloom ui add skeleton"
last_updated: "2026-08-15"
---

# Skeleton (`BloomSkeleton`)

> Used to show a placeholder while content is loading with a subtle pulse animation.

**Category:** Layout & Structure  
**Package:** [`bloom_ui`](https://pub.dev/packages/bloom_ui)  
**CLI Install:** `bloom ui add skeleton`  
**Web Preview:** [https://bloom-platform-ten.vercel.app/ui/skeleton](https://bloom-platform-ten.vercel.app/ui/skeleton)

---

## 📦 Installation & Setup

### 1. Using Bloom CLI (Recommended)
Add the source code directly to your project without rigid package locks:
```bash
bloom ui add skeleton
```

### 2. Using Pub.dev Package
Add the dependency to your `pubspec.yaml`:
```yaml
dependencies:
  bloom_ui: ^0.1.0
```

### 3. Import in Dart
```dart
import 'package:bloom_ui/bloom_ui.dart';
```

---

## 🚀 Usage Example

```dart
Row(
  children: const [
    BloomSkeleton(width: 40, height: 40, borderRadius: BorderRadius.all(Radius.circular(20))),
    SizedBox(width: 12),
    Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        BloomSkeleton(width: 140, height: 14),
        SizedBox(height: 6),
        BloomSkeleton(width: 80, height: 12),
      ],
    ),
  ],
)
```

---

## 🛠️ API Reference

### Properties & Parameters

| Prop | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `width` | `double?` | *Required* | Skeleton width. |
| `height` | `double?` | *Required* | Skeleton height. |
| `borderRadius` | `BorderRadius?` | *Required* | Corner roundness. |

---

## 🎨 Theming & Styling

BloomSkeleton automatically respects the active `BloomTheme` (including `BloomTheme.novaLight`, `BloomTheme.novaDark`, etc.) and responds seamlessly to dark mode changes, custom border radii, and brand color tokens.

### Theme Overrides Example
```dart
Theme(
  data: Theme.of(context).copyWith(
    extensions: [
      context.bloomTheme.copyWith(
        colors: context.bloomColors.copyWith(
          primary: const Color(0xFF8B5CF6), // Custom Purple Accent
        ),
      ),
    ],
  ),
  child: Row(...,
)
```

---

## 🔗 Related Resources
- [Components Gallery](https://bloom-platform-ten.vercel.app/ui)
- [Bloom Theming & Tokens Guide](https://bloom-platform-ten.vercel.app/docs/theming)
- [Application Blocks Catalog](https://bloom-platform-ten.vercel.app/blocks)
- [Bloom CLI Master Overview](https://bloom-platform-ten.vercel.app/docs/cli)
