Ctrl + K
Get StartedStylesCoreCompsCDK
Actions
Action Sheet
Button
Button Group
Context Menu
Dropdown Button
Menu
Side Menu
Form & Editors
Checkbox
Color Box
Color Palette
Cron Job
Date & Time Box
Date & Time Picker
Form
Image Editor
Json Viewer
Number Box
One time password
Paint
Password Box
Phone Box
Query Builder
Range Slider
Rate Picker
Rest Api Generator
Search Box
Select Box
Selection List
Step Wizard
Switch
Tag Box
Text Box
Textarea
Tree View
Uploader
WYSIWYG
Navigation & Layout
Avatar
Badge
Bottom Navigation
Breadcrumb
Calendar
Chips
Circular Progress
Collapse
Comment
Conversation
Data Pager
Data Table
Drawer
File Explorer
Grid Layout Builder
Image
KBD
List
Loading
Map
Media Viewer
Navbar
Picker
Popover
Popup
Progress Bar
Qrcode
Rail Navigation
Result
Skeleton
Sliding Item
Tabs
Tag
Time Line
Toolbar
Tooltip
Dialog & Notifications
Alert
Dialog
Loading Dialog
Notification
Toast

Skeleton

import { AXSkeletonModule } from '@acorex/components/skeleton'; Skeleton component is a placeholder that simulates the layout of content while it is loading. It appears as gray or muted shapes (like rectangles or circles) that mimic the structure of text, images, or other elements, providing a smoother user experience by indicating that content is being loaded or processed.

Overview

In this section, you can test different options of this component and see the output in real time

Usage

A simple example of using ax-skeleton
Preview
Code

Animated

The animated property can enable animation on skeleton. default value for animatedis true
Preview
Code

Design Tokens

Design tokens are variables that define the visual style of ACoreX components. You can use them to change colors, typography, spacing, and other visual aspects. Default component colors use system surface colors.
--ax-comp-skeleton-bg-colorvar(--ax-sys-color-dark)Background color of the skeleton. Defaults to the system's surface text color.
--ax-comp-skeleton-bg-opacity0.2Background opacity color of the skeleton.
--ax-comp-skeleton-line-width14remWidth of the animated loading line in the skeleton.

Copyright ©2017-2025 ACoreX Labs Inc.

On this page