Updated
Merge Gallery
ProCustomize
Duration0.55s
Blur11px
Dim0.60
Installation
ProMerge Gallery is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/merge-gallery
Loading your installation…
Usage
import { MergeGallery } from "@/components/uibrik/merge-gallery/MergeGallery";<MergeGallery duration={0.55} blur={11} dim={0.6} loop // videos={[…]}/>Where to use Merge Gallery
Video showcases
Six tiles merging into one player turn a gallery into a video in one move.
Media sites
Splitting back apart returns visitors to the grid where they started.
Product demos
Clips merging into one player fit "see it in action" sections.
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.