components/skeleton/index.en-US.md
<code src="./demo/basic.tsx">Basic</code> <code src="./demo/complex.tsx">Complex combination</code> <code src="./demo/active.tsx">Active Animation</code> <code src="./demo/element.tsx">Button/Avatar/Input/Image/Node</code> <code src="./demo/children.tsx">Contains sub component</code> <code src="./demo/list.tsx">List</code> <code src="./demo/style-class.tsx" version="6.0.0">Custom semantic dom styling</code> <code src="./demo/componentToken.tsx" debug>Custom component token</code>
Common props ref:Common props
<embed src="./shared/sharedProps.en-US.md"></embed>
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
| active | Show animation effect | boolean | false | |
| avatar | Show avatar placeholder | boolean | SkeletonAvatarProps | false | |
| loading | Display the skeleton when true | boolean | - | |
| paragraph | Show paragraph placeholder | boolean | SkeletonParagraphProps | true | |
| round | Show paragraph and title radius when true | boolean | false | |
| title | Show title placeholder | boolean | SkeletonTitleProps | true |
| Property | Description | Type | Default |
|---|---|---|---|
| width | Set the width of title | number | string | - |
| Property | Description | Type | Default |
|---|---|---|---|
| rows | Set the row count of paragraph | number | - |
| width | Set the width of paragraph. When width is an Array, it can set the width of each row. Otherwise only set the last row width | number | string | Array<number | string> | - |
| Property | Description | Type | Default |
|---|---|---|---|
| active | Show animation effect, only valid when used avatar independently | boolean | false |
| shape | Set the shape of avatar | circle | square | circle |
| size | Set the size of avatar | number | large | medium | small | medium |
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
| active | Show animation effect | boolean | false | |
| block | Option to fit button width to its parent width | boolean | false | 4.17.0 |
| shape | Set the shape of button | circle | round | square | default | - | |
| size | Set the size of button | large | medium | small | medium |
| Property | Description | Type | Default |
|---|---|---|---|
| active | Show animation effect | boolean | false |
| size | Set the size of input | large | medium | small | medium |
<code src="./demo/_semantic.tsx" simplify="true"></code>
<code src="./demo/_semantic_element.tsx" simplify="true"></code>
<ComponentTokenTable component="Skeleton"></ComponentTokenTable>