# ablocks/2.11.1/includes/blocks/ecm-reaction/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.11.1. 98 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.11.1/code/includes/blocks/ecm-reaction/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.11.1/raw/includes/blocks/ecm-reaction/attributes.php
- Modified: 2026-05-14T13:36:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.11.1/code/includes/blocks/ecm-reaction/attributes.php#L10-L20`.

```php
<?php

use ABlocks\Controls\Typography;
use ABlocks\Controls\Range;
use ABlocks\Controls\Dimensions;
use ABlocks\Controls\Border;
use ABlocks\Controls\BoxShadow;
use ABlocks\Controls\Alignment;
use ABlocks\Components\ButtonGroup;


if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => [
		'type' => 'number',
		'default' => 2,
	],
	'transition' => [
		'type' => 'number',
		'default' => 10,
	],
	'showTitle' => [
		'type' => 'boolean',
		'default' => true,
	],
		'fillColor' => [
		'type' => 'string',
		'default' => '',
	],
		'iconColor' => [
		'type' => 'string',
		'default' => '',
	],
		'titleColor' => [
		'type' => 'string',
		'default' => '',
	],
		'bgColor' => [
		'type' => 'string',
		'default' => '',
	],
		'activeFillColor' => [
		'type' => 'string',
		'default' => '',
	],
		'activeIconColor' => [
		'type' => 'string',
		'default' => '',
	],
		'activeTitleColor' => [
		'type' => 'string',
		'default' => '',
	],
		'activeBGColor' => [
		'type' => 'string',
		'default' => '',
	],	

];

$attributes = array_merge(
		ButtonGroup::get_attribute( 'justificationAlign', true, [
		'value' => 'center',
	] ),
		Border::get_attribute( 'border', true ),
		Border::get_attribute( 'activeBorder', true ),
		Typography::get_attribute( 'titleTypography', true ),
		Typography::get_attribute( 'activeTitleTypography', true ),
		Dimensions::get_attribute( 'padding', true ),
        Range::get_attribute( [
		'attributeName' => 'iconSize',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 20,
		'hasUnit' => true,
		'unitDefaultValue' => 'px',
	] ),
	Range::get_attribute( [
		'attributeName' => 'itemGap',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'defaultValue' => 20,
		'hasUnit' => true,
		'unitDefaultValue' => 'px',
	] ),
	$attributes,
);

return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );


```
