BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ui-beats/scale-in

Scale In

ui-beats/scale-in
FreeComponent

The ScaleIn component creates a smooth scale-in animation for its children when they enter the viewport.

Install it

npx shadcn@latest add https://uibeats.com/r/scale-in.json

Source

components/demo/animation/scale-in.tsxuibeats.com/r/scale-in.json
1"use client";
2import React from "react";
3import { motion, useInView, type Variants } from "motion/react";
4
5interface ScaleInProps {
6 children: React.ReactNode;
7 duration?: number;
8 delay?: number;
9 scaleFrom?: number;
10 className?: string;
11 once?: boolean;
12}
13
14const ScaleIn: React.FC<ScaleInProps> = ({
15 children,
16 duration = 0.5,
17 delay = 0,
18 scaleFrom = 0.8,
19 className = "",
20 once = true,
21}) => {
22 const ref = React.useRef<HTMLDivElement>(null);
23 const isInView = useInView(ref, { once, amount: 0.1 });
24
25 const variants: Variants = {
26 hidden: { scale: scaleFrom, opacity: 0 },
27 visible: {
28 scale: 1,
29 opacity: 1,
30 transition: {
31 duration: duration,
32 delay: delay,
33 ease: [0.215, 0.61, 0.355, 1],
34 },
35 },
36 };
37
38 return (
39 <motion.div
40 ref={ref}
41 initial="hidden"
42 animate={isInView ? "visible" : "hidden"}
43 variants={variants}
44 className={className}
45 >
46 {children}
47 </motion.div>
48 );
49};
50
51export default ScaleIn;

What it pulls in

npm packages

  • motion

Files it writes

  • components/ui/scale-in.tsx

Facts

Registry
ui-beats
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-12
Last confirmed
yesterday

Go to the source

uibeats.com Raw registry item This item as JSON

More from ui-beats

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Beamanimated-beamui-beatsComponentsFree1 dep
Bouncebounceui-beatsComponentsFree1 dep
Dockdockui-beatsComponentsFree1 dep
Fade Infade-inui-beatsComponentsFree1 dep
Fade In Unblurfade-in-unblurui-beatsComponentsFree1 dep
Flip Cardflip-cardui-beatsComponentsFree2 deps
Glowing Cardglowing-cardui-beatsComponentsFree1 dep
Gradient Flowgradient-flowui-beatsComponentsFree1 dep
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex