uibrik

Loading Shimmer

Preview

Customize

Duration1.2s
Passes2
Text size48px

Usage

import { LoadingShimmer } from "@/components/uibrik/loading-shimmer/loading-shimmer";

<LoadingShimmer play={play} />

Installation

npx shadcn@latest add https://uibrik.com/r/loading-shimmer.json
Adds the files to components/uibrik/loading-shimmer and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/loading-shimmer.

Props

LoadingShimmer
text
Type string
"Thinking…"
The copy to animate.
duration
Type number
1.2
Time for one pass of the highlight.
passes
Type number
2
Passes per play.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.