Skip to content

Checkboxes Popover

Similar to a select element, but is a list of checkboxes in a show/hide disclosure

Usage Guidelines

  • We will not be able to do multi-color text configurable
  • Cards accommodate standard text formatting, alignment and sizing
  • Users should use rows and columns to align the cards
  • Users have the ability to add a full width image to the top of cards
  • Cards can be used in any component

Desktop

  • The content in the cards can be formatted like the mockup by adding a fact and setting the style to "Large Value"
  • If the content in each card will be more than a few sentences, consider using Accordions - Card Version

WordPress

This component can be added to post content with the Card block in the Gutenberg editor.

Specifications

Properties

PropertyTypeDescriptionRequiredDefault
labelstring Trigger label text --
classstring list of additional classes to apply to main element. --

Styling

Colors

NameApplicationCustom PropertyRolesDefault OpacityDescription
bg-colorbackground-surface-Note this is for the actual list popover. The trigger button uses same colors as select input
text-colortext-on-surface-
checked-colorborder-primary-

Changelog

6.42.0

  • checkboxes-popover added

Examples

Default

{% set options = [
	{
		value: "1",
		label: "One"
	},
	{
		value: "2",
		label: "Two"
	},
	{
		value: "3",
		label: "Three"
	},
] %}
<x-checkboxes-popover label="Dropdown" :options="options" />