Black Friday: 30% off Pro

Get 30% off

Updated

Ink Bleed Carousel

Pro

Preview

Customize

Ratio0.75
Max width720px
Rounding24px
Roughness35
Pooling25
Colour wash70
Wash colours
Wave35
Magnify60
RGB shift50
Border70
Duration1.8s
Interval5.0s

Installation

Pro

Ink Bleed Carousel 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

  1. 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}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/ink-bleed-carousel

Usage

import { InkBleedCarousel } from "@/components/uibrik/ink-bleed-carousel/ink-bleed-carousel";​const slides = [  { src: "/registry/ink-bleed-carousel/painted-hills.webp", alt: "Painting of soft green hills above a winding river" },  { src: "/registry/ink-bleed-carousel/black-vase.webp", alt: "White and yellow roses in a dark metal jug" },  // …3 more];​<InkBleedCarousel  ratio={0.75}  maxWidth={720}  rounding={24}  roughness={35}  pooling={25}  rainbow={70}  tipColors={["#ff7a59", "#ff4d8d", "#9b6bff", "#ffb23f"]}  wave={35}  magnify={60}  shift={50}  border={70}  duration={1.8}  autoplay  interval={5}  controls  slides={slides}  defaultIndex={0}  label="Gallery"  // index={0}  // onIndexChange={(index) => {}}/>

Where to use Ink Bleed Carousel

  • Art and portfolio galleries

    A painterly bleed suits illustration, watercolour and photography portfolios.

    Pairs with Lens Carousel

  • Editorial heroes

    One large photo that changes slowly and calmly, with no sliding track.

  • Product stories

    Dragging scrubs the transition, so visitors can hold it halfway and compare two photos.

Props

InkBleedCarousel
ratio
Type number
0.75
Height against width.
maxWidth
Type number
720
Widest the carousel grows. It also stays short enough to fit the window.
rounding
Type number
24
Corner radius.
roughness
Type number
35
How ragged the ink front is. 0 is a clean circle.
pooling
Type number
25
How much pigment pools along the front and wets the paper ahead of it.
rainbow
Type number
70
Strength of the pastel wash behind the front. 0 turns it off.
tipColors
Type string[]
["#ff7a59","#ff4d8d","#9b6bff","#ffb23f"]
Colours of the wash along the front, lightened to pastel.
wave
Type number
35
How much the front waves as it travels.
magnify
Type number
60
How strongly the swell along the front magnifies what's under it.
shift
Type number
50
How far red and blue split apart on the slopes of the swell.
border
Type number
70
Strength of the colour glow and magnifying bevel along the border while the photo changes.
duration
Type number
1.8
Length of one bleed. A drag scrubs it instead.
autoplay
Type boolean
true
Move on by itself. Holds on hover, focus and drag.
interval
Type number
5
Time between slides when autoplaying.
controls
Type boolean
true
Previous and next buttons under the carousel.
slides
Type { src: string; alt: string }[]
5 sample photos
The slides, in order, up to 32. Photos on another origin need CORS headers to reach the GPU.
index / onIndexChange
Type number / (index) => void
–
Controlled current slide, from 0.
defaultIndex
Type number
0
Slide on mount when uncontrolled.
label
Type string
"Gallery"
Names the carousel for screen readers.
className
Type string
–
Classes for the wrapper. It fills its container's width.