aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web/components')
-rw-r--r--packages/web/components/ui/skeleton.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/web/components/ui/skeleton.tsx b/packages/web/components/ui/skeleton.tsx
new file mode 100644
index 00000000..01b8b6d4
--- /dev/null
+++ b/packages/web/components/ui/skeleton.tsx
@@ -0,0 +1,15 @@
+import { cn } from "@/lib/utils"
+
+function Skeleton({
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLDivElement>) {
+ return (
+ <div
+ className={cn("animate-pulse rounded-md bg-muted", className)}
+ {...props}
+ />
+ )
+}
+
+export { Skeleton }