Back to blocks
input
Block

Reorderable Tags

Tag input component with drag-and-drop reordering and color options

Installation

npx shadcn add @mylo-ui/tags-reorderable

Preview

Tags

5 / 15
React
TypeScript
UI Design
Frontend
shadcn
New tags will be:blue

Suggested:

Tip: Drag tags to reorder. Press Enter to add a tag, Backspace to remove the last tag. Click the × to remove a specific tag.

Usage

import { TagsReorderable } from "@/components/blocks/tags-reorderable"

export default function Page() {
  return <TagsReorderable />
}

Dependencies

lucide-react
@dnd-kit/core
@dnd-kit/sortable
@dnd-kit/utilities

shadcn/ui Components

card
input
badge