BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/navdeep-singh/animated-group

Animated Group

navdeep-singh/animated-group
FreeComponent

Motion-powered staggered animation container.

Install it

npx shadcn@latest add https://ui.navdeepsingh.dev/r/animated-group.json

Source

components/ui/components/animated-group.tsxui.navdeepsingh.dev/r/animated-group.json
1'use client'
2
3import React, { type ReactNode } from 'react'
4import { motion, type TargetAndTransition, type Variants } from 'motion/react'
5
6type DynamicElementProps = {
7 as: React.ElementType
8 children?: ReactNode
9 className?: string
10}
11
12const DynamicElement = React.forwardRef<HTMLElement, DynamicElementProps>(
13 ({ as: Component, ...props }, ref) => <Component ref={ref} {...props} />,
14)
15
16DynamicElement.displayName = 'DynamicElement'
17
18const MotionElement = motion.create(DynamicElement)
19
20export type PresetType =
21 | 'fade'
22 | 'slide'
23 | 'scale'
24 | 'blur'
25 | 'blur-slide'
26 | 'zoom'
27 | 'flip'
28 | 'bounce'
29 | 'rotate'
30 | 'swing'
31
32export type AnimatedGroupProps = {
33 children: ReactNode
34 className?: string
35 variants?: {
36 container?: Variants
37 item?: Variants
38 }
39 preset?: PresetType
40 as?: React.ElementType
41 asChild?: React.ElementType
42 delay?: number
43}
44
45type AnimationStates = {
46 hidden?: TargetAndTransition
47 visible?: TargetAndTransition
48}
49
50const defaultContainerVariants: AnimationStates = {
51 visible: {
52 transition: {
53 staggerChildren: 0.1,
54 },
55 },
56}
57
58const defaultItemVariants: AnimationStates = {
59 hidden: { opacity: 0 },
60 visible: { opacity: 1 },
61}
62
63const presetVariants: Record<PresetType, AnimationStates> = {
64 fade: {},
65 slide: {
66 hidden: { y: 20 },
67 visible: { y: 0 },
68 },
69 scale: {
70 hidden: { scale: 0.8 },
71 visible: { scale: 1 },
72 },
73 blur: {
74 hidden: { filter: 'blur(4px)' },
75 visible: { filter: 'blur(0px)' },
76 },
77 'blur-slide': {
78 hidden: { filter: 'blur(4px)', y: 20 },
79 visible: { filter: 'blur(0px)', y: 0 },
80 },
81 zoom: {
82 hidden: { scale: 0.5 },
83 visible: {
84 scale: 1,
85 transition: {
86 type: 'spring',
87 stiffness: 300,
88 damping: 20,
89 },
90 },
91 },
92 flip: {
93 hidden: { rotateX: -90 },
94 visible: {
95 rotateX: 0,
96 transition: {
97 type: 'spring',
98 stiffness: 300,
99 damping: 20,
100 },
101 },
102 },
103 bounce: {
104 hidden: { y: -50 },
105 visible: {
106 y: 0,
107 transition: {
108 type: 'spring',
109 stiffness: 400,
110 damping: 10,
111 },
112 },
113 },
114 rotate: {
115 hidden: { rotate: -180 },
116 visible: {
117 rotate: 0,
118 transition: {
119 type: 'spring',
120 stiffness: 200,
121 damping: 15,
122 },
123 },
124 },
125 swing: {
126 hidden: { rotate: -10 },
127 visible: {
128 rotate: 0,
129 transition: {
130 type: 'spring',
131 stiffness: 300,
132 damping: 8,
133 },
134// … truncated

What it pulls in

npm packages

  • motion

Files it writes

  • components/ui/components/animated-group.tsx

Facts

Registry
navdeep-singh
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

ui.navdeepsingh.dev Navdeepannu/Portfolio on GitHub Raw registry item This item as JSON

More from navdeep-singh

All 64 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Numbersanimated-numbersnavdeep-singhComponentsFree1 dep
Animated Tabsanimated-tabsnavdeep-singhComponentsFree2 deps
Approval Panel Illustrationapproval-panelnavdeep-singhComponentsFree2 deps · 2 files
Brand Logobrand-logonavdeep-singhComponentsFree1 dep
Contribution Graphcontribution-graphnavdeep-singhComponentsFreeno deps
Designed for Focus Illustrationdesigned-for-focus-illustrationnavdeep-singhComponentsFree1 dep
Expandable Cardexpandable-cardnavdeep-singhComponentsFree4 deps
Fast by Default Illustrationfast-by-default-illustrationnavdeep-singhComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex