Skeleton
Show a placeholder while content is loading.
Example
import { UiLabel, UiSwitch } from '@altdot/extension';
export default function Command() { return ( <> <UiSkeleton style={{ width: '75%', height: '2rem' }} /> <UiSkeleton style={{ width: '75%', height: '2rem', marginTop: '1rem' }} /> <UiSkeleton style={{ width: '75%', height: '2rem', marginTop: '1rem' }} /> </> );}
Props
Name | Type | Description |
---|