whatisgithub

What is mergeableview?

noppefoxwolf/mergeableview — explained in plain English

Analysis updated 2026-05-18

69SwiftAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

MergeableView is a Swift package that adds a drag-to-merge gesture with a fluid Liquid Glass visual effect for combining items in iOS and macOS apps.

Mindmap

mindmap
  root((MergeableView))
    What it does
      Drag to merge gesture
      Liquid Glass effect
      SwiftUI primitives
    Tech stack
      Swift
      SwiftUI
      Swift Package Manager
    Building blocks
      MergeableContainer
      mergeableItem modifier
      onMerge callback
    Use cases
      Tag managers
      Playlist builders
      Item merging UIs
    Requirements
      iOS 26 or macOS 26
      Swift 6

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add a drag-to-merge interaction with animated glass visuals to a SwiftUI tag manager or list of items.

USE CASE 2

Build a playlist or item builder UI where users combine two entries by dragging one onto another.

USE CASE 3

Prototype a tactile, animated merge gesture in an iOS or macOS app without writing custom gesture and animation code.

What is it built with?

SwiftSwiftUISwift Package Manager

How does it compare?

noppefoxwolf/mergeableviewjaydenjcpy/eeveespotifyreincarnatednanako0129/tokenbar
Stars696864
LanguageSwiftSwiftSwift
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires iOS 26 or macOS 26 and Swift 6, so it only works on very recent OS versions.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

MergeableView is a Swift package for building iOS and macOS interfaces where items can be visually merged together when a user drags one toward another. The Liquid Glass effect refers to a translucent, fluid looking visual style that makes the items appear to flow and merge organically on screen. The problem it solves is that implementing drag to merge gestures with animated glass style visuals from scratch in SwiftUI is complex. MergeableView provides a small set of ready made building blocks so a developer does not have to build this interaction from first principles. To use it, you wrap your views in a MergeableContainer, which sets up the shared glass effect and a coordinate space for tracking merges. Each item you want to be mergeable gets tagged with a mergeableItem modifier. When a user drags one item onto another and releases, an onMerge callback fires with the source and destination indices, letting you update your own data however you choose, for example combining two text tokens into one. You would reach for this library when building an iOS or macOS app where users rearrange or combine objects with a tactile, animated feel, think tag managers, playlist builders, or any interface where merging items is a core interaction. It requires iOS 26 or macOS 26 and Swift 6, is installed through Swift Package Manager, and comes with a runnable example app included in the repository. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Add MergeableView to my SwiftUI project via Swift Package Manager and wrap my item list in a MergeableContainer.
Prompt 2
Show me how to use the mergeableItem modifier and onMerge callback to combine two tokens into one in SwiftUI.
Prompt 3
Explain what the Liquid Glass effect in MergeableView looks like and how it's rendered during a drag gesture.
Prompt 4
Build a tag manager UI using MergeableView where dragging one tag onto another merges their text.

Frequently asked questions

What is mergeableview?

MergeableView is a Swift package that adds a drag-to-merge gesture with a fluid Liquid Glass visual effect for combining items in iOS and macOS apps.

What language is mergeableview written in?

Mainly Swift. The stack also includes Swift, SwiftUI, Swift Package Manager.

What license does mergeableview use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is mergeableview to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is mergeableview for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.