Opens in a new tab

Pricing Glow Switch

Templates2 minutes readUpdated 4 Oct 2026

This article documents

Pricing Glow Switch Pro

Pricing · CSS only

A dark, line-drawn pricing section with a Monthly / Annual switch and three plans over a soft glow.

Requires: the Bricksify companion plugin for the free Toggle Switch widget. No library.

How it works#

  • The Toggle Switch element is a real switch (role="switch", aria-checked): click, tap, Space or Enter turns it on. Each change writes data-billing="yearly" or "monthly" on the section; its Accessible name is “Annual billing”.
  • Every price and period exists twice: one element carries the class bx-when-monthly, the other bx-when-yearly. The section shows the ones that match its data-billing. It starts on monthly (its Attributes); to open on annual prices tick On at load on the switch and set the section attribute to yearly.
  • When on, the thumb slides 14px to the right in 0.15s, the track turns light and the Annual label brightens.

What you replace#

In the structure panelWhat to do
Eyebrow, TitleThe second line of the title is wrapped in <span class="bxp08-soft">, which dims it
Badge - savingYour saving, or delete it
Plan - ... (3)Name, description, Price - monthly and Price - yearly, both periods, the features and the button
Badge - PopularMove it into another plan’s Name row, or delete it

Layout and breakpoints#

Three plans in a row above 991px, with 1px lines between them and around the band; two columns at 991px, where the third plan moves to a new row with a line above; one column at 767px, with a line under each plan. The heading and switch share a row above 991px and stack below. The title goes from 60px to 36px at 767px, the prices from 60px to 48px at 478px. The glow is a 672 by 576px gradient blurred 100px (Filters), centred at the bottom.

Classes#

Global classes with typed settings: bxp08-plan, bxp08-top, bxp08-body, bxp08-name, bxp08-desc, bxp08-price, bxp08-period, bxp08-list, bxp08-item, bxp08-check, bxp08-badge, bxp08-btn. The section class bsfy-p08 holds only what Bricks has no control for: the monthly/yearly visibility, the dimmed title line, the switch’s on state, the focus rings and reduced motion.

Reduced motion and without JavaScript#

With reduced motion the switch and button transitions are off. Without JavaScript the monthly prices show and the switch does nothing.