qat

Skeleton

Skeleton. It is copied into your app’s ui/ by qatjs add skeleton: the code is yours to edit.

Example

Example.qx5 linesOpen in the playground
import Skeleton from './ui/skeleton/skeleton.qx'

export default function Example() {
  return <Skeleton avatar button />
}

Add it

shell1 line
npx qatjs add skeleton

Skeleton

As a custom element: <ui-skeleton>.

Skeleton: props
PropTypeAttribute
linesnumberyes
avatarbooleanyes
buttonbooleanyes
labelstringyes