uibrik

Merge Gallery

Preview

Customize

Duration0.55s
Blur11px
Dim0.60

Usage

import { MergeGallery } from "@/components/uibrik/merge-gallery/MergeGallery";

<MergeGallery />

Installation

npx shadcn@latest add https://uibrik.com/r/merge-gallery.json
Adds the files to components/uibrik/merge-gallery and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/merge-gallery.

Props

MergeGallery
duration
Type number
0.55
How long the tiles take to merge and split.
blur
Type number
11
Peak blur while the tiles merge.
dim
Type number
0.6
How dark a tile gets under the pointer.
loop
Type boolean
true
Loop the open video.
videos
Type GalleryVideo[]
SAMPLE_GALLERY_VIDEOS
Exactly six { src, poster } pairs, laid out 3 × 2.
className
Type string
–
Classes for the wrapper.