BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/SmoothUI Registry/animated-tags

Animated Tags

smoothui-registry/animated-tags
FreeComponent

A AnimatedTags component for SmoothUI.

Install it

npx shadcn@latest add https://www.smoothui.dev/r/animated-tags.json

Source

index.tsxwww.smoothui.dev/r/animated-tags.json
1"use client";
2
3import { CircleX, Plus } from "lucide-react";
4import { AnimatePresence, motion, useReducedMotion } from "motion/react";
5import { useState } from "react";
6
7export interface AnimatedTagsProps {
8 className?: string;
9 initialTags?: string[];
10 onChange?: (selected: string[]) => void;
11 selectedTags?: string[];
12}
13
14export default function AnimatedTags({
15 initialTags = ["react", "tailwindcss", "javascript"],
16 selectedTags: controlledSelectedTags,
17 onChange,
18 className = "",
19}: AnimatedTagsProps) {
20 const [internalSelected, setInternalSelected] = useState<string[]>([]);
21 const shouldReduceMotion = useReducedMotion();
22
23 const selectedTag = controlledSelectedTags ?? internalSelected;
24 const tags = initialTags.filter((tag) => !selectedTag.includes(tag));
25
26 const handleTagClick = (tag: string) => {
27 const newSelected = [...selectedTag, tag];
28 if (onChange) {
29 onChange(newSelected);
30 } else {
31 setInternalSelected(newSelected);
32 }
33 };
34 const handleDeleteTag = (tag: string) => {
35 const newSelectedTag = selectedTag.filter((selected) => selected !== tag);
36 if (onChange) {
37 onChange(newSelectedTag);
38 } else {
39 setInternalSelected(newSelectedTag);
40 }
41 };
42 return (
43 <div className={`flex w-[300px] flex-col gap-4 p-4 ${className}`}>
44 <div className="flex flex-col items-start justify-center gap-1">
45 <p>Selected Tags</p>
46 <AnimatePresence>
47 <div className="flex min-h-12 w-full flex-wrap items-center gap-1 rounded-xl border bg-background p-2">
48 {selectedTag?.map((tag) => (
49 <motion.div
50 animate={
51 shouldReduceMotion
52 ? { opacity: 1 }
53 : {
54 filter: "blur(0px)",
55 opacity: 1,
56 y: 0,
57 }
58 }
59 className="group flex cursor-pointer flex-row items-center justify-center gap-2 rounded-md border bg-primary px-2 py-1 text-primary-foreground group-hover:bg-primary group-hover:text-foreground"
60 exit={
61 shouldReduceMotion
62 ? { opacity: 0, transition: { duration: 0 } }
63 : { filter: "blur(4px)", opacity: 0, y: 20 }
64 }
65 initial={
66 shouldReduceMotion
67 ? { opacity: 1 }
68 : { filter: "blur(4px)", opacity: 0, y: 20 }
69 }
70// … truncated

What it pulls in

npm packages

  • motion
  • lucide-react

Files it writes

  • index.tsx

Facts

Registry
SmoothUI Registry
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-09
Last confirmed
today

Go to the source

www.smoothui.dev educlopez/smoothui on GitHub Raw registry item This item as JSON

More from SmoothUI Registry

All 178 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Agent Avataragent-avatarSmoothUI RegistryComponentsFreeno deps
Ai Approvalai-approvalSmoothUI RegistryComponentsFree2 deps
Ai Artifactai-artifactSmoothUI RegistryComponentsFree2 deps
Ai Branchai-branchSmoothUI RegistryComponentsFree2 deps
Ai Citationai-citationSmoothUI RegistryComponentsFree2 deps
Ai Context Meterai-context-meterSmoothUI RegistryComponentsFree2 deps
Ai Conversationai-conversationSmoothUI RegistryComponentsFree2 deps
Ai Coreai-coreSmoothUI RegistryComponentsFree1 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