Process Rail
This article documents
Process Rail Pro
A row of steps under one line. As the page scrolls, a small bead travels the line and the line draws exactly behind it, over the same stretch of scroll; a faint dotted route underneath shows where it goes next. When the bead reaches the middle of a step’s column the step lights up, a beat apart: it brightens, its picture fades and grows in from slightly small, and its number rolls into place. Scroll back above a step and it plays back out. Reached steps keep their picture and number, so the row reads as a finished sequence at the end. For how-it-works, onboarding and process sections.
Requires: the Bricksify companion plugin. The Process Rail component loads GSAP, ScrollTrigger, MotionPathPlugin, DrawSVGPlugin and CustomEase.
Settings#
Select the Process Rail section and open the Section component (Bricksify) group in the Content tab. Component is already set to Process Rail; every option below is a normal Bricks control, and an empty field uses the default shown in grey. Set Component to None to switch the motion off: the steps stay, static. See Section component.
| Setting | Default | What it does |
|---|---|---|
| Scrub (s) | 0.6 | How long the bead and the line take to catch up with the scroll. 0 = locked to the scroll bar. The steps always play as timed motion, never scrubbed |
| Bead size (px) | 10 | Diameter of the dot that draws the line |
| Stagger (s) | 0.08 | Beat between a step brightening, its picture fading in (one beat later) and its number rolling in (two beats later) |
| Scroll with the page | off | Off: from 768px up the section becomes three screens tall and its stage stays put while the bead runs. On: the section keeps its own height and the bead runs while the section crosses the screen. Phones always scroll with the page |
| Line and dotted route | #171c3d | Colour of the drawn line and of the route ahead |
| Bead | #3456f5 | Colour of the bead and of the keyboard focus ring on the steps |
| Ring around the bead | #f2f3f7 | A ring that cuts the line around the bead: set it to the section background |
What you replace#
| In the structure panel | What to do |
|---|---|
Step 1 - Brief to Step 4 - Launch | Edit the number, title, text and picture. Duplicate a step to add one, delete it to remove one: the line, the points where steps light up and the timing follow the steps on the page (equal columns on desktop) |
Number | Any text; each digit rolls in on its own strip. Optional: a step without the bxc-prl__num class simply has no roll |
Image | Any Image element with the bxc-prl__media class fades in. Optional |
Intro | Eyebrow and heading above the rail; delete it if you do not need it |
The component recognises its parts by class: bxc-prl__stage (the screen that sticks), bxc-prl__rail (the line is drawn at its top, at its left on phones), bxc-prl__step (one per step, in order), bxc-prl__num and bxc-prl__media. Each step becomes a real button: clicking it, or pressing Enter on it, scrolls to where the bead reaches it.
Responsive#
From 768px the steps sit in equal columns under the line, which starts at the first step’s left edge; a step lights up when the bead reaches the middle of its column. Under 768px the steps stack in equal rows that already hold room for their pictures, the line runs down the left from the first number to the last, and the block scrolls with the page instead of sticking. Columns, gaps and type are typed settings on the bxprl-* classes. Without JavaScript every step, number and picture is shown. Reduced motion: the finished state is shown (line drawn, every step lit), with no sticking and no scroll animation. Works the same with the site smooth scroll on or off.