n-skeleton

Generate animated skeleton placeholders for Naive UI loading states in Vue 3.

8|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-skeleton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n-skeleton
Source: https://github.com/jiaiyan/naive-ui-skills/tree/main/components/n-skeleton
Command: npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-skeleton

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Skeleton components solve the problem of showing loading states and preventing layout shift by displaying animated placeholders.

Core Features & Use Cases

  • Text Skeleton: Animated text placeholders
  • Shape Variants: Box, circle, and rounded shapes
  • Size Options: small, medium, and large sizes
  • Repeat Function: Repeat skeleton elements easily
  • Animation Control: Enable or disable animation
  • Custom Dimensions: Set custom width and height

Quick Start

Use an n-skeleton in your template to display animated loading placeholders while content loads.

Frequently Asked Questions about n-skeleton

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add loading skeletons to Vue 3 components using Naive UI?

You can add loading skeletons in Vue 3 by using the n-skeleton component to render animated placeholders, preventing layout shift while content loads. It supports text, shapes, and custom dimensions for cards and tables.

What are skeleton placeholders and when should I use them in web applications?

Skeleton placeholders are animated loading states that indicate upcoming content in web applications. Use them to prevent layout shift and improve perceived performance when fetching data for cards, lists, tables, or forms.

Can I customize the size and shape of animated loading placeholders in Naive UI?

Yes, you can customize animated loading placeholders in Naive UI with small, medium, and large size options. The component also supports box, circle, and rounded shape variants, along with custom width and height dimensions.

How do I disable or enable animations for skeleton loaders?

You can disable or enable animations for skeleton loaders using the built-in animation control property. This allows you to toggle the animated loading state effect on or off based on your UI requirements.

Does the n-skeleton component require any external dependencies for Vue 3 projects?

No, the n-skeleton component does not require external dependencies beyond Naive UI for Vue 3 projects. It operates independently to provide animated loading placeholders without additional setup constraints.