Meditative Folks Theme
Blocks

Pill

How to use the Pill block in the Meditative Folks Theme.

Pill

At a glance

Small pill/badge label for highlights and tags.

Used in

  • Configure where this block is available in the parent section.

Settings

Content

SettingWhat it doesDefaultShows when
Pill textControls “Pill text” on the storefront. Open the theme editor to preview live.NewAlways

Style

SettingWhat it doesDefaultShows when
Button variantChooses the button look (primary, secondary, outline, or ghost).primarypill text != blank
Button sizeChooses the button size from Theme settings → Button sizes.smallpill text != blank
Use global button stylesWhen on, uses the matching style from Theme settings. Turn off to style only this section or block.Yespill text != blank
Button backgroundControls “Button background” on the storefront. Open the theme editor to preview live.#ffffffpill text != blank and use global pill styles is off
Button text colorControls “Button text color” on the storefront. Open the theme editor to preview live.#000000pill text != blank and use global pill styles is off
Button padding top & bottomAdds empty space (button padding top & bottom) around the section content.0pill text != blank and use global pill styles is off
Button padding left & rightAdds empty space (button padding left & right) around the section content.0pill text != blank and use global pill styles is off

Layout

SettingWhat it doesDefaultShows when
AlignmentControls “Alignment” on the storefront. Open the theme editor to preview live.leftAlways
Rounded fullDisplay as a fully rounded pill shapeYespill text != blank

Setting details

Each control from the tables above, explained simply:

Pill text

Controls “Pill text” on the storefront. Open the theme editor to preview live. Default: New.

Button variant

Chooses the button look (primary, secondary, outline, or ghost). Default: primary. This control appears when: pill text != blank.

Button size

Chooses the button size from Theme settings → Button sizes. Default: small. This control appears when: pill text != blank.

Use global button styles

When on, uses the matching style from Theme settings. Turn off to style only this section or block. Default: Yes. This control appears when: pill text != blank.

Button background

Controls “Button background” on the storefront. Open the theme editor to preview live. Default: #ffffff. This control appears when: pill text != blank and use global pill styles is off.

Button text color

Controls “Button text color” on the storefront. Open the theme editor to preview live. Default: #000000. This control appears when: pill text != blank and use global pill styles is off.

Button padding top & bottom

Adds empty space (button padding top & bottom) around the section content. Default: 0. This control appears when: pill text != blank and use global pill styles is off.

Button padding left & right

Adds empty space (button padding left & right) around the section content. Default: 0. This control appears when: pill text != blank and use global pill styles is off.

Alignment

Controls “Alignment” on the storefront. Open the theme editor to preview live. Default: left.

Rounded full

Display as a fully rounded pill shape Default: Yes. This control appears when: pill text != blank.

Tips

  • Place this block inside a wrapper if it should only show on certain screen sizes.
  • Preview in the theme editor on mobile and desktop.

On this page