Files
upstream-shadcn-ui/apps/v4/examples/base/shimmer-duration.tsx
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

17 lines
580 B
TypeScript

export function ShimmerDuration() {
return (
<div className="mx-auto grid w-full max-w-lg gap-6 text-center text-sm text-muted-foreground sm:grid-cols-2">
<div className="flex flex-col gap-3">
<p className="shimmer">Generating response&hellip;</p>
<p className="font-mono text-xs">shimmer</p>
</div>
<div className="flex flex-col gap-3">
<p className="shimmer shimmer-duration-1000">
Generating response&hellip;
</p>
<p className="font-mono text-xs">shimmer-duration-1000</p>
</div>
</div>
)
}