Pricing · Compare table
A comparison pricing table for Bricks Builder built as a real table with ARIA roles on a subgrid, so its rows line up without fixed heights. The header with the plans' names, prices and buttons stays stuck at the top while scrolling, and on mobile the table reflows by plan instead of moving or cloning any content.
In the annual plan, $99/year. See plans
Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution
Preview

Loading demo…
Template details
What’s inside
The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.
- FBK Button
A link styled as a button, with style, size and width.
- FBK Intro
Eyebrow, title, lead and an actions slot for buttons.
Adjust it
Change these variables in Bricks to tune it; everything else follows your framework.
On the element Comparison table, class fbk-compare
Columns: one per plan
- --fbk-t-plans
- 3
- --fbk-t-feature-width
- minmax(10em, 1.5fr)
Surface
- --fbk-t-surface
- var(--fbk-card-scheme-bg, var(--white))
- --fbk-t-border
- var(--fbk-card-scheme-border, color-mix(in srgb, var(--base-ultra-dark) 16%, var(--white)))
- --fbk-t-radius
- var(--radius)
Featured plan, and the faded dash for features not included
- --fbk-t-accent
- var(--primary)
- --fbk-t-no
- color-mix(in srgb, var(--text-color) 35%, transparent)
- --fbk-t-sticky-top
- var(--wp-admin--admin-bar--height, 0px)
- --fbk-t-stuck-shadow
- 0 0.75em 1em -0.75em color-mix(in srgb, var(--base-ultra-dark) 30%, transparent)
Layout (changes below 767 px)
- --fbk-t-columns
- var(--fbk-t-feature-width) repeat(var(--fbk-t-plans), minmax(0, 1fr))
- --fbk-t-row-display
- grid
- --fbk-t-feature-span
- auto
- --fbk-t-feature-display
- flex
- --fbk-t-corner
- flex
- --fbk-t-cell-pad
- var(--space-s)
- --fbk-t-cell-direction
- column
- --fbk-t-cell-justify
- center
- --fbk-t-cell-border
- 0
- --fbk-t-label
- none
- --fbk-t-plan-columns
- 1fr
- --fbk-t-plan-align
- center
- --fbk-t-plan-position
- static
- --fbk-t-btn-column
- auto
- --fbk-t-btn-row
- auto
- --fbk-t-name-size
- var(--text-m)
- --fbk-t-amount-size
- var(--h4)
Motion
- --fbk-t-duration
- var(--fbk-hover)
Replaces
In Fancy Bricks 1.0 and 2.0 this was Comparative pricing table (1.0).



