Pricing
Get Started
  • Introduction
  • Installation
  • MCP Server
  • Saved
Site
  • Builder (Beta)
  • Pricing
  • Roadmap
  • Affiliates
Browse
  • All Components25 New
Text32
Reveal & Decode11
  • Blur Highlight
  • Cipher Reveal
  • Ghost Type
  • Glyph Lottery
  • Luminous Type
  • Signal Type
  • Smoke Type
  • Staggered Text
  • Text Morph
  • Typographic Wall
  • Vapor Type
Kinetic & 3D11
  • 3D Letter Swap
  • 3D Text Reveal
  • Bending Marquee
  • Mesh Lettering
  • Orbital Type
  • Ribbon Type
  • Rising Ink
  • Speeding Text
  • Text Cube
  • Text Path
  • Wave Lettering
Interactive & Physics10
  • ASCII Ripple
  • Domino Lettering
  • Elastic Lettering
  • Glitch Text
  • Gravity Letters
  • Particle Text
  • Shatter Type
  • Spring Lettering
  • Stipple Type
  • Text Scatter
Backgrounds106
Gradients & Fluids21
  • Aura Blob
  • Aurora Blur
  • Chroma Waves
  • Cloud Atlas
  • Color Loops
  • Glowing Ridges
  • Gradient Bars
  • Gradient Blob
  • Grain Wave
  • Liquid Bars
  • Minimal Ripple
  • Radial Liquid
  • Rubber Fluid
  • Satin Ridges
  • Shader Waves
  • Silk Waves
  • Simple Swirl
  • Spectral Clouds
  • Stipple GradientNew
  • Swirl Blend
  • Watercolor
Light & Beams14
  • Aurora Beam
  • Axial Beam
  • Blurred Rays
  • Chroma Blinds
  • Dappled Light
  • Eclipse
  • Falling Rays
  • Flame Paths
  • Horizon Bloom
  • Light Droplets
  • Neon Reveal
  • Nexus Rays
  • Rolling Blinds
  • Shadow Bars
Lines & Filaments12
  • Concentric Tides
  • Glowing Wave
  • Interference Ribbons
  • Liquid Lines
  • Long Exposure
  • Luminous Filaments
  • Neural Flash
  • Neural Float
  • Rising Lines
  • Spiral Funnel
  • Synaptic Shift
  • Twilight Lines
Dots & Pixels22
  • Blinking Dots
  • Blinking Squares
  • Chroma Current
  • Circuit FlashNew
  • Cursor Wave
  • Dither Wave
  • Dot Shift
  • Dotted WavesNew
  • Glue Dots
  • Grid Rise
  • Halftone Vortex
  • Halftone Wave
  • Hexagonal Vault
  • Mosaic
  • Mosaic Waves
  • Pixel Rain
  • Square Matrix
  • Squares Terminal
  • Squircle Shift
  • Tech Wall
  • Thinking Dots
  • Voxel Arc
Particles & Space11
  • Astral Shell
  • Binary Orbits
  • Contour Tide
  • Fading Stars
  • Glimmer Wrap
  • Grain MassNew
  • Ring Field
  • Rising Particles
  • Rotating Stars
  • Spectral Drape
  • Star Burst
Horizons & Tunnels10
  • Glitter Warp
  • Landscape
  • Lightspeed
  • Neural Tunnel
  • Perspective Grid
  • Ravine
  • Retro Lines
  • Star Swipe
  • Vortex
  • Warp Twister
ASCII & Glyphs9
  • ASCII StreamNew
  • ASCII Tiles
  • Ascii Waves
  • Glyph Ember
  • Glyph Orb
  • Glyph Sonar
  • Glyph Tide
  • Liquid Ascii
  • Terminal Rain
Glass & Chrome7
  • Glass CoinsNew
  • Glass Flow
  • Glass KeysNew
  • Glass Tiles
  • Metallic Swirl
  • Prismatic Slats
  • Spectral TilesNew
Images & Galleries52
Galleries & Carousels33
  • Album Rail
  • Bend Gallery
  • Circle Gallery
  • Circle Stack
  • Circles
  • Concave Carousel
  • Constellation Gallery
  • Contact Sheet
  • Depth Ribbon
  • Dolly Gallery
  • Draggable Grid
  • Elastic Reel
  • Expanding Grid
  • Gradient Carousel
  • Helix Gallery
  • Infinite Gallery
  • Inverted Dome
  • Iris Gallery
  • Lenticular Carousel
  • Liquid CirclesNew
  • Momentum Ring
  • Orbit Reel
  • Parallax Carousel
  • Passage Gallery
  • Prism Carousel
  • Reel Gallery
  • Rotating Cards
  • Scroll Bend
  • Skewed Carousel
  • Spin Shutter
  • Tilted Tiles
  • Tumble Carousel
  • Twisting Gallery
Image Effects14
  • Comparison Slider
  • Depth Image
  • Ember Reveal
  • Glass Reveal
  • Hover Preview
  • Liquid Swap
  • Loupe Image
  • Particle Image
  • Particle Morph
  • Pixel Reveal
  • Pixel Sculpt
  • Pixelate Hover
  • Pond Image
  • Shader Reveal
Scroll Stories5
  • Frame Scrub
  • Scroll Mask
  • Scroll Portal
  • Scroll Stack
  • Tile Reveal
Interface30
Cards & Widgets15
  • Animated ListUpdated
  • Arc ListNew
  • Card Spread
  • Chroma Card
  • Click Stack
  • Credit Card
  • Depth Card
  • Frame Border
  • Modal Cards
  • Parallax Cards
  • Parallax Pills
  • Preloader
  • Shader Card
  • SignatureNew
  • Warped Card
Product Mockups8
  • Browser WindowNew
  • Center Flow
  • Code MorphNew
  • Device
  • Magic Transform
  • PipelineNew
  • Spin ViewerNew
  • Terminal ReplayNew
Data & Media7
  • Globe
  • Instrument DialNew
  • Particle ChartNew
  • Signal MapNew
  • Simple Graph
  • Story PlayerNew
  • Waveform PlayerNew
3D & Tactile16
Orbs & Shapes9
  • Agentic Ball
  • AI Blob
  • Black Hole
  • Chrome Orbit
  • Fog Sphere
  • Photon Knot
  • Portal
  • Specter Orb
  • Wireframe Ball
Tactile & Physics7
  • Elastic Sticker
  • KeycapsNew
  • Page Flip
  • Pin ScreenNew
  • Receipt PrinterNew
  • Scratch CardNew
  • Tumble Wall
Cursors19
Custom Cursors7
  • Custom Cursor
  • Drafting Cursor
  • Glass Cursor
  • Gyroscope Cursor
  • Label Orbit
  • Smooth Cursor
  • User Cursor
Cursor Trails12
  • Arc Cursor
  • Ascii Cursor
  • Celebration Cursor
  • Chroma Halo
  • Dither Cursor
  • Glyph Stream
  • Pigment Trail
  • Pixel Magnet
  • Ribbon Trail
  • Snapshot Trail
  • Stardust Cursor
  • Tessera Trail
  1. Docs
  2. Components
  3. Images & Galleries
  4. Galleries & Carousels
  5. Album Rail

Animated components, blocks, and templates for React. Pay once, ship stunning pages forever.

pro@reactbits.dev

Site

HomeBuilder (Beta)PricingTestimonialsFAQsRoadmapChangelogFree Components

Docs

IntroductionInstallationMCP ServerComponentsBlocksTemplates

Resources

AboutUse casesComparisonsAlternativesFor AI agents

Legal & Account

LoginAffiliateLicensePrivacyContact

© 2026 pro.reactbits.dev. All rights reserved.

Album Rail

A fan of album sleeves, each with a record tucked inside

album-rail-tw

Customize

Background
Accent
Vinyl
Aspect
1.00
Size
0.62
Spread
0.58
Stack
0.50
Fan
6.0°
Turn
22°
Depth
0.50
Visible
3
Radius
14px
Dim
0.45
Shadow
0.60
RPM
33
Interval
4.0s

Props

35
NameTypeDefaultDescription
items{ src: string; alt: string; title?: string; subtitle?: string; href?: string }[]built-in cover collectionCovers to show, in order. Images must allow cross-origin loading. Title and subtitle (the artist) caption the focused cover; href makes selecting it navigate when vinyl is off.
startIndexnumber0Index of the cover that starts in focus.
aspectnumber1Width divided by height of every cover. 1 is a square album sleeve; images are cropped to fill it.
sizenumber0.62Height of the focused cover as a fraction of the space above the caption.
spreadnumber0.58Distance from the focused cover to its first neighbours, as a fraction of the cover width.
stacknumber0.5How tightly the covers further out pack together. 0 spaces them evenly; 1 stacks them like a coverflow.
fannumber6Tilt of each neighbour in degrees, fanning the covers like a hand of cards.
turnnumber22How far the neighbours turn away from the viewer in degrees.
depthnumber0.5How far the neighbours recede and shrink behind the focused cover.
visiblenumber3Covers shown on each side of the focused one, from 1 to 5.
radiusnumber14Corner radius of the covers in pixels.
dimnumber0.45How much the covers away from the centre fade into the background. Hovering one brings it back.
shadownumber0.6Strength of the soft shadows the covers and the record cast on each other.
vinylbooleantrueEach cover holds a record. Hovering the focused cover lets the record peek out; clicking it, Enter or the play button slides it out and spins it.
vinylColorstring"#131116"Colour of the record. The label in its centre shows the album art.
accentColorstring"auto"Colour of the play button, or of the ruler marker when vinyl is off. "auto" picks the most vivid colour of the focused cover and adjusts it to the background; any CSS colour fixes it.
rpmnumber33Turntable speed of a playing record, in revolutions per minute.
autoplaybooleantrueMove to the next cover every interval seconds. Pauses while hovered, held or playing.
intervalnumber4Seconds between autoplay steps.
pauseOnHoverbooleantruePause autoplay while the pointer is over the rail.
loopbooleantrueWrap around at the ends. When false, the rail stops at the first and last cover.
draggablebooleantrueDrag or swipe the covers sideways, with momentum and snapping.
wheelbooleantrueScroll to move one cover per notch. Set false to leave page scrolling untouched.
captionsbooleantrueShow the title and artist of the focused cover. The caption slides with the rail as it moves.
controlsbooleantrueShow the ruler: one tick per album sliding with the rail, a play button at its centre and arrows at its ends. Drag or click the ruler to scrub.
backgroundColorstring"transparent"Background of the component. Text, controls and the fading covers adapt to it.
pausedbooleanfalseStops autoplay. Reduced-motion users get instant steps and a still record.
dprnumber2Maximum device pixel ratio for the canvas.
ariaLabelstring"Album rail…"Accessible description of the rail and how to use it.
onIndexChange(index) => void—Called when a different cover comes into focus.
onSelect(item, index) => void—Called when the focused cover is clicked or Enter is pressed. Clicking any other cover brings it into focus.
onPlayChange(index, playing) => void—Called when a record starts or stops playing.
ref{ next, previous, goTo, play, stop }—Imperative controls for moving through the rail and playing the focused record.
classNamestring—Classes for the root element. It fills its parent, with a 420px minimum height.
styleCSSProperties—Inline styles for the root element.
items{ src: string; alt: string; title?: string; subtitle?: string; href?: string }[]

Covers to show, in order. Images must allow cross-origin loading. Title and subtitle (the artist) caption the focused cover; href makes selecting it navigate when vinyl is off.

Defaultbuilt-in cover collection
startIndexnumber

Index of the cover that starts in focus.

Default0
aspectnumber

Width divided by height of every cover. 1 is a square album sleeve; images are cropped to fill it.

Default1
sizenumber

Height of the focused cover as a fraction of the space above the caption.

Default0.62
spreadnumber

Distance from the focused cover to its first neighbours, as a fraction of the cover width.

Default0.58
stacknumber

How tightly the covers further out pack together. 0 spaces them evenly; 1 stacks them like a coverflow.

Default0.5
fannumber

Tilt of each neighbour in degrees, fanning the covers like a hand of cards.

Default6
turnnumber

How far the neighbours turn away from the viewer in degrees.

Default22
depthnumber

How far the neighbours recede and shrink behind the focused cover.

Default0.5
visiblenumber

Covers shown on each side of the focused one, from 1 to 5.

Default3
radiusnumber

Corner radius of the covers in pixels.

Default14
dimnumber

How much the covers away from the centre fade into the background. Hovering one brings it back.

Default0.45
shadownumber

Strength of the soft shadows the covers and the record cast on each other.

Default0.6
vinylboolean

Each cover holds a record. Hovering the focused cover lets the record peek out; clicking it, Enter or the play button slides it out and spins it.

Defaulttrue
vinylColorstring

Colour of the record. The label in its centre shows the album art.

Default"#131116"
accentColorstring

Colour of the play button, or of the ruler marker when vinyl is off. "auto" picks the most vivid colour of the focused cover and adjusts it to the background; any CSS colour fixes it.

Default"auto"
rpmnumber

Turntable speed of a playing record, in revolutions per minute.

Default33
autoplayboolean

Move to the next cover every interval seconds. Pauses while hovered, held or playing.

Defaulttrue
intervalnumber

Seconds between autoplay steps.

Default4
pauseOnHoverboolean

Pause autoplay while the pointer is over the rail.

Defaulttrue
loopboolean

Wrap around at the ends. When false, the rail stops at the first and last cover.

Defaulttrue
draggableboolean

Drag or swipe the covers sideways, with momentum and snapping.

Defaulttrue
wheelboolean

Scroll to move one cover per notch. Set false to leave page scrolling untouched.

Defaulttrue
captionsboolean

Show the title and artist of the focused cover. The caption slides with the rail as it moves.

Defaulttrue
controlsboolean

Show the ruler: one tick per album sliding with the rail, a play button at its centre and arrows at its ends. Drag or click the ruler to scrub.

Defaulttrue
backgroundColorstring

Background of the component. Text, controls and the fading covers adapt to it.

Default"transparent"
pausedboolean

Stops autoplay. Reduced-motion users get instant steps and a still record.

Defaultfalse
dprnumber

Maximum device pixel ratio for the canvas.

Default2
ariaLabelstring

Accessible description of the rail and how to use it.

Default"Album rail…"
onIndexChange(index) => void

Called when a different cover comes into focus.

Default—
onSelect(item, index) => void

Called when the focused cover is clicked or Enter is pressed. Clicking any other cover brings it into focus.

Default—
onPlayChange(index, playing) => void

Called when a record starts or stops playing.

Default—
ref{ next, previous, goTo, play, stop }

Imperative controls for moving through the rail and playing the focused record.

Default—
classNamestring

Classes for the root element. It fills its parent, with a 420px minimum height.

Default—
styleCSSProperties

Inline styles for the root element.

Default—