Moves a soft highlight across text to show that work is in progress.
Searching 24 sources
text-shimmer-demo.tsx
The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.
npm
yarn
pnpm
bun
search-status.tsx
Also install Button.
- Read the brief
- Draft the outline
- Check the sources
text-shimmer-steps-demo.tsx
Set the text color for the base and --text-shimmer-highlight for the highlight.
Generating your report
text-shimmer-color-demo.tsx
- active: boolean = true
- Runs the highlight. Set false when the work is done.
- duration: number = 1.6
- Time in seconds for one pass of the highlight. A short pause follows each pass.
- --text-shimmer-highlight: CSS color = var(--color-foreground)
- Color of the highlight. Set it in className.