snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
apps/v4/examples/radix/shimmer-duration.tsx
Normal file
16
apps/v4/examples/radix/shimmer-duration.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
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…</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…
|
||||
</p>
|
||||
<p className="font-mono text-xs">shimmer-duration-1000</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user