diff --git .jshintignore .jshintignore
index 7aef61f3c..06a8e1509 100644
--- .jshintignore
+++ .jshintignore
@@ -8,3 +8,5 @@ src/**/js/blocks/**/*.js
 src/**/js/block-*/*.js
 src/**/js/block-*/**/*.js
 src/**/js/block-*.js
+src/**/js/friends.js
+src/**/js/dynamic-widget-block.js
diff --git Gruntfile.js Gruntfile.js
index bb010cd0c..3417b09fd 100644
--- Gruntfile.js
+++ Gruntfile.js
@@ -22,7 +22,9 @@ module.exports = function( grunt ) {
 			'!**/js/blocks/**/*.js',
 			'!**/js/block-*/*.js',
 			'!**/js/block-*/**/*.js',
-			'!**/js/block-*.js'
+			'!**/js/block-*.js',
+			'!**/js/friends.js',
+			'!**/js/dynamic-widget-block.js'
 		],
 
 		BP_EXCLUDED_MISC = [
@@ -40,7 +42,8 @@ module.exports = function( grunt ) {
 			'!bp-members/css/blocks/members.css',
 			'!bp-groups/css/blocks/groups.css',
 			'!bp-core/css/blocks/login-form.css',
-			'!bp-activity/css/blocks/latest-activities.css'
+			'!bp-activity/css/blocks/latest-activities.css',
+			'!bp-friends/css/blocks/friends.css'
 		],
 
 		autoprefixer = require('autoprefixer');
@@ -168,6 +171,15 @@ module.exports = function( grunt ) {
 				flatten: true,
 				src: ['bp-activity/sass/blocks/*.scss'],
 				dest: SOURCE_DIR + 'bp-activity/css/blocks/'
+			},
+			friends_blocks: {
+				cwd: SOURCE_DIR,
+				extDot: 'last',
+				expand: true,
+				ext: '.css',
+				flatten: true,
+				src: ['bp-friends/sass/blocks/*.scss'],
+				dest: SOURCE_DIR + 'bp-friends/css/blocks/'
 			}
 		},
 		rtlcss: {
diff --git package.json package.json
index ae389d9ca..d47a53eeb 100644
--- package.json
+++ package.json
@@ -40,15 +40,17 @@
 		"npm": ">=6.14.8"
 	},
 	"scripts": {
-		"start": "npm run dev:components && parcel watch src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps",
-		"dev": "npm run dev:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps --no-minify",
-		"build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build",
+		"start": "npm run dev:components && npm run dev:assets && parcel watch src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps",
+		"dev": "npm run dev:components && npm run dev:assets && npm run dev:scripts && parcel build src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps --no-minify",
+		"build": "npm run build:components && npm run build:assets  && npm run build:scripts && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build",
 		"watch:components": "parcel watch src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --global bpBlock",
 		"dev:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --no-minify --global bpBlock",
 		"build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bpBlock",
 		"watch:assets": "parcel watch src/js/bp-core/js/block-assets/*.js --out-dir src/bp-core/js --no-source-maps --global bpBlock",
 		"dev:assets": "parcel build src/js/bp-core/js/block-assets/*.js --out-dir src/bp-core/js --no-source-maps --no-minify --global bpBlock",
 		"build:assets": "parcel build src/js/bp-core/js/block-assets/*.js --out-dir build/bp-core/js --global bpBlock",
+		"dev:scripts": "parcel build src/js/bp-*/*s/* --out-dir src --no-source-maps --no-minify",
+		"build:scripts": "parcel build src/js/bp-*/*s/* --out-dir build",
 		"wp-env": "wp-env",
 		"test-php": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.xml'",
 		"test-php:group": "npm run wp-env run phpunit 'php /var/www/html/wp-content/plugins/buddypress/vendor/phpunit/phpunit/phpunit -c /var/www/html/wp-content/plugins/buddypress/tests/phpunit/env.xml --group $npm_confi_g'",
diff --git src/bp-activity/js/blocks/embed-activity.js src/bp-activity/js/blocks/embed-activity.js
index 5f481a7a1..fc3a737c8 100644
--- src/bp-activity/js/blocks/embed-activity.js
+++ src/bp-activity/js/blocks/embed-activity.js
@@ -117,13 +117,13 @@ parcelRequire = (function (modules, cache, entry, globalName) {
   }
 
   return newRequire;
-})({"dEOc":[function(require,module,exports) {
+})({"DCTP":[function(require,module,exports) {
 function _arrayWithHoles(arr) {
   if (Array.isArray(arr)) return arr;
 }
 
 module.exports = _arrayWithHoles;
-},{}],"RonT":[function(require,module,exports) {
+},{}],"LoeL":[function(require,module,exports) {
 function _iterableToArrayLimit(arr, i) {
   if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
   var _arr = [];
@@ -152,7 +152,7 @@ function _iterableToArrayLimit(arr, i) {
 }
 
 module.exports = _iterableToArrayLimit;
-},{}],"LGpM":[function(require,module,exports) {
+},{}],"jEQo":[function(require,module,exports) {
 function _arrayLikeToArray(arr, len) {
   if (len == null || len > arr.length) len = arr.length;
 
@@ -164,7 +164,7 @@ function _arrayLikeToArray(arr, len) {
 }
 
 module.exports = _arrayLikeToArray;
-},{}],"Vzqv":[function(require,module,exports) {
+},{}],"Dbv9":[function(require,module,exports) {
 var arrayLikeToArray = require("./arrayLikeToArray");
 
 function _unsupportedIterableToArray(o, minLen) {
@@ -177,13 +177,13 @@ function _unsupportedIterableToArray(o, minLen) {
 }
 
 module.exports = _unsupportedIterableToArray;
-},{"./arrayLikeToArray":"LGpM"}],"sa4T":[function(require,module,exports) {
+},{"./arrayLikeToArray":"jEQo"}],"MWEO":[function(require,module,exports) {
 function _nonIterableRest() {
   throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 }
 
 module.exports = _nonIterableRest;
-},{}],"xkYc":[function(require,module,exports) {
+},{}],"DERy":[function(require,module,exports) {
 var arrayWithHoles = require("./arrayWithHoles");
 
 var iterableToArrayLimit = require("./iterableToArrayLimit");
@@ -197,7 +197,7 @@ function _slicedToArray(arr, i) {
 }
 
 module.exports = _slicedToArray;
-},{"./arrayWithHoles":"dEOc","./iterableToArrayLimit":"RonT","./unsupportedIterableToArray":"Vzqv","./nonIterableRest":"sa4T"}],"Sjre":[function(require,module,exports) {
+},{"./arrayWithHoles":"DCTP","./iterableToArrayLimit":"LoeL","./unsupportedIterableToArray":"Dbv9","./nonIterableRest":"MWEO"}],"Sjre":[function(require,module,exports) {
 "use strict";
 
 Object.defineProperty(exports, "__esModule", {
@@ -363,7 +363,7 @@ var editEmbedActivityBlock = compose([withSelect(function (select, ownProps) {
 })])(EditEmbedActivity);
 var _default = editEmbedActivityBlock;
 exports.default = _default;
-},{"@babel/runtime/helpers/slicedToArray":"xkYc"}],"zmBI":[function(require,module,exports) {
+},{"@babel/runtime/helpers/slicedToArray":"DERy"}],"zmBI":[function(require,module,exports) {
 "use strict";
 
 Object.defineProperty(exports, "__esModule", {
diff --git src/bp-core/bp-core-cssjs.php src/bp-core/bp-core-cssjs.php
index c8d34388d..56b6c9f09 100644
--- src/bp-core/bp-core-cssjs.php
+++ src/bp-core/bp-core-cssjs.php
@@ -85,6 +85,9 @@ function bp_core_register_common_scripts() {
 		// Version 2.7.
 		'bp-moment'    => array( 'file' => "{$url}vendor/moment-js/moment{$min}.js", 'dependencies' => array(), 'footer' => true ),
 		'bp-livestamp' => array( 'file' => "{$url}vendor/livestamp{$min}.js", 'dependencies' => array( 'jquery', 'bp-moment' ), 'footer' => true ),
+
+		// Version 9.0.
+		'bp-dynamic-widget-block-script' => array( 'file' => "{$url}dynamic-widget-block.js", 'dependencies' => array( 'lodash', 'wp-url' ), 'footer' => true ),
 	);
 
 	// Version 2.7 - Add Moment.js locale to our $scripts array if we found one.
diff --git src/bp-core/bp-core-template-loader.php src/bp-core/bp-core-template-loader.php
index 9191e2915..eed2d9df5 100644
--- src/bp-core/bp-core-template-loader.php
+++ src/bp-core/bp-core-template-loader.php
@@ -87,6 +87,63 @@ function bp_get_asset_template_part( $slug, $name = null, $args = array() ) {
 	return bp_get_template_part( "assets/{$slug}", $name, $args );
 }
 
+/**
+ * Get a dynamic template part.
+ *
+ * @since 9.0.0
+ *
+ * @param string $template     The Template Pack's relative path to the templata.
+ *                             Optional.
+ * @param string $type         Whether to use the template for JavaScript or PHP.
+ *                             Optional. Defaults to `js`.
+ * @param array  $tokens       The data to use to customize the template. Optional.
+ * @param array  $allowed_tags The allowed tags to use. Optional.
+ * @return string HTML/JS output.
+ */
+function bp_get_dynamic_template_part( $template = '', $type = 'js', $tokens = array(), $allowed_tags = array() ) {
+	$template_string = '';
+
+	if ( ! $template ) {
+		return '';
+	}
+
+	// Use the BP Theme Compat API to allow template override.
+	$template_path = bp_locate_template( $template );
+	if ( $template_path ) {
+		$template_string = file_get_contents( $template_path );
+	}
+
+	if ( ! $template_string ) {
+		return '';
+	}
+
+	if ( ! $allowed_tags ) {
+		$allowed_tags = array(
+			'li'   => array( 'class' => true ),
+			'div'  => array( 'class' => true ),
+			'span' => array( 'class' => true ),
+			'a'    => array(
+				'href'            => true,
+				'class'           => true,
+				'data-bp-tooltip' => true,
+			),
+			'img'  => array(
+				'src'     => true,
+				'class'   => true,
+				'loading' => true,
+			),
+		);
+	}
+
+	if ( 'js' !== $type ) {
+		$template_string = wp_kses( $template_string, $allowed_tags );
+
+		return bp_core_replace_tokens_in_text( $template_string, $tokens );
+	}
+
+	return $template_string;
+}
+
 /**
  * Retrieve the name of the highest priority template file that exists.
  *
diff --git src/bp-core/js/dynamic-widget-block.js src/bp-core/js/dynamic-widget-block.js
new file mode 100644
index 000000000..dfe59fefc
--- /dev/null
+++ src/bp-core/js/dynamic-widget-block.js
@@ -0,0 +1,223 @@
+// modules are defined as an array
+// [ module function, map of requires ]
+//
+// map of requires is short require name -> numeric require
+//
+// anything defined in a previous bundle is accessed via the
+// orig method which is the require for previous bundles
+parcelRequire = (function (modules, cache, entry, globalName) {
+  // Save the require from previous bundle to this closure if any
+  var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
+  var nodeRequire = typeof require === 'function' && require;
+
+  function newRequire(name, jumped) {
+    if (!cache[name]) {
+      if (!modules[name]) {
+        // if we cannot find the module within our internal map or
+        // cache jump to the current global require ie. the last bundle
+        // that was added to the page.
+        var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
+        if (!jumped && currentRequire) {
+          return currentRequire(name, true);
+        }
+
+        // If there are other bundles on this page the require from the
+        // previous one is saved to 'previousRequire'. Repeat this as
+        // many times as there are bundles until the module is found or
+        // we exhaust the require chain.
+        if (previousRequire) {
+          return previousRequire(name, true);
+        }
+
+        // Try the node require function if it exists.
+        if (nodeRequire && typeof name === 'string') {
+          return nodeRequire(name);
+        }
+
+        var err = new Error('Cannot find module \'' + name + '\'');
+        err.code = 'MODULE_NOT_FOUND';
+        throw err;
+      }
+
+      localRequire.resolve = resolve;
+      localRequire.cache = {};
+
+      var module = cache[name] = new newRequire.Module(name);
+
+      modules[name][0].call(module.exports, localRequire, module, module.exports, this);
+    }
+
+    return cache[name].exports;
+
+    function localRequire(x){
+      return newRequire(localRequire.resolve(x));
+    }
+
+    function resolve(x){
+      return modules[name][1][x] || x;
+    }
+  }
+
+  function Module(moduleName) {
+    this.id = moduleName;
+    this.bundle = newRequire;
+    this.exports = {};
+  }
+
+  newRequire.isParcelRequire = true;
+  newRequire.Module = Module;
+  newRequire.modules = modules;
+  newRequire.cache = cache;
+  newRequire.parent = previousRequire;
+  newRequire.register = function (id, exports) {
+    modules[id] = [function (require, module) {
+      module.exports = exports;
+    }, {}];
+  };
+
+  var error;
+  for (var i = 0; i < entry.length; i++) {
+    try {
+      newRequire(entry[i]);
+    } catch (e) {
+      // Save first error but execute all entries
+      if (!error) {
+        error = e;
+      }
+    }
+  }
+
+  if (entry.length) {
+    // Expose entry point to Node, AMD or browser globals
+    // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
+    var mainExports = newRequire(entry[entry.length - 1]);
+
+    // CommonJS
+    if (typeof exports === "object" && typeof module !== "undefined") {
+      module.exports = mainExports;
+
+    // RequireJS
+    } else if (typeof define === "function" && define.amd) {
+     define(function () {
+       return mainExports;
+     });
+
+    // <script>
+    } else if (globalName) {
+      this[globalName] = mainExports;
+    }
+  }
+
+  // Override the current require with this new one
+  parcelRequire = newRequire;
+
+  if (error) {
+    // throw error from earlier, _after updating parcelRequire_
+    throw error;
+  }
+
+  return newRequire;
+})({"eNhW":[function(require,module,exports) {
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    addQueryArgs = _wp.url.addQueryArgs;
+/**
+ * External dependencies.
+ */
+
+var _lodash = lodash,
+    template = _lodash.template; // Use the bp global.
+
+window.bp = window.bp || {};
+/**
+ * Generic class to be used by Dynamic Widget Blocks.
+ *
+ * @since 9.0.0
+ */
+
+bp.dynamicWidgetBlock = /*#__PURE__*/function () {
+  function bpDynamicWidgetBlock(settings, blocks) {
+    var _this = this;
+
+    _classCallCheck(this, bpDynamicWidgetBlock);
+
+    var path = settings.path,
+        root = settings.root,
+        nonce = settings.nonce;
+    this.path = path;
+    this.root = root;
+    this.nonce = nonce, this.blocks = blocks;
+    this.blocks.forEach(function (block, i) {
+      var _ref = block.query_args || 'active',
+          type = _ref.type;
+
+      var _ref2 = block.preloaded || [],
+          body = _ref2.body;
+
+      _this.blocks[i].items = {
+        'active': [],
+        'newest': [],
+        'popular': [],
+        'alphabetical': []
+      };
+
+      if (!_this.blocks[i].items[type].length && body && body.length) {
+        _this.blocks[i].items[type] = body;
+      }
+    });
+  }
+
+  _createClass(bpDynamicWidgetBlock, [{
+    key: "useTemplate",
+    value: function useTemplate(tmpl) {
+      var options = {
+        evaluate: /<#([\s\S]+?)#>/g,
+        interpolate: /\{\{\{([\s\S]+?)\}\}\}/g,
+        escape: /\{\{([^\}]+?)\}\}(?!\})/g,
+        variable: 'data'
+      };
+      return template(document.querySelector('#tmpl-' + tmpl).innerHTML, options);
+    }
+  }, {
+    key: "loop",
+    value: function loop() {// This method needs to be overriden.
+    }
+  }, {
+    key: "getItems",
+    value: function getItems() {
+      var _this2 = this;
+
+      var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'active';
+      var blockIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+      this.blocks[blockIndex].query_args.type = type;
+
+      if (this.blocks[blockIndex].items[type].length) {
+        this.loop(this.blocks[blockIndex].items[type], this.blocks[blockIndex].selector, type);
+      } else {
+        fetch(addQueryArgs(this.root + this.path, this.blocks[blockIndex].query_args), {
+          method: 'GET',
+          headers: {
+            'X-WP-Nonce': this.nonce
+          }
+        }).then(function (response) {
+          return response.json();
+        }).then(function (data) {
+          _this2.blocks[blockIndex].items[type] = data;
+
+          _this2.loop(_this2.blocks[blockIndex].items[type], _this2.blocks[blockIndex].selector, type);
+        });
+      }
+    }
+  }]);
+
+  return bpDynamicWidgetBlock;
+}();
+},{}]},{},["eNhW"], null)
\ No newline at end of file
diff --git src/bp-friends/bp-friends-blocks.php src/bp-friends/bp-friends-blocks.php
new file mode 100644
index 000000000..876bc46d3
--- /dev/null
+++ src/bp-friends/bp-friends-blocks.php
@@ -0,0 +1,266 @@
+<?php
+/**
+ * BP Friends Blocks Functions.
+ *
+ * @package BuddyPress
+ * @subpackage FriendsBlocks
+ * @since 9.0.0
+ */
+
+// Exit if accessed directly.
+if ( ! defined( 'ABSPATH' ) ) {
+	exit;
+}
+
+/**
+ * Adds specific script data for the BP Friends blocks.
+ *
+ * Only used for the BP Friends block.
+ *
+ * @since 9.0.0
+ */
+function bp_friends_blocks_add_script_data() {
+	$friends_blocks = array_filter( buddypress()->friends->block_globals['bp/friends']->items );
+
+	if ( ! $friends_blocks ) {
+		return;
+	}
+
+	// Include the common JS template.
+	echo bp_get_dynamic_template_part( 'assets/widgets/friends.php' );
+
+	// List the block specific props.
+	wp_add_inline_script(
+		'bp-friends-script',
+		sprintf( 'var bpFriendsBlocks = %s;', wp_json_encode( array_values( $friends_blocks ) ) ),
+		'before'
+	);
+}
+
+/**
+ * Callback function to render the BP Friends Block.
+ *
+ * @since 9.0.0
+ *
+ * @param array $attributes The block attributes.
+ * @return string           HTML output.
+ */
+function bp_friends_render_friends_block( $attributes = array() ) {
+	$block_args = wp_parse_args(
+		$attributes,
+		array(
+			'maxFriends'    => 5,
+			'friendDefault' => 'active',
+			'linkTitle'     => false,
+			'postId'        => 0, // If the postId attribute is defined, post author friends are needed.
+		)
+	);
+
+	$user_id = 0;
+	if ( $block_args['postId'] ) {
+		$user_id = (int) get_post_field( 'post_author', $block_args['postId'] );
+	} else {
+		$user_id = bp_displayed_user_id();
+
+		if ( ! $user_id && isset( $_SERVER['REQUEST_URI'] ) ) {
+			$request_uri  = esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) );
+			$request_path = wp_parse_url( $request_uri, PHP_URL_PATH );
+			$regex        = addcslashes( sprintf( '%s/.*bp/friends', rest_get_url_prefix() ), '/' );
+
+			if ( preg_match( "/{$regex}/", $request_path ) ) {
+				$user_id = bp_loggedin_user_id();
+			}
+		}
+	}
+
+	if ( ! $user_id ) {
+		return '';
+	}
+
+	$classnames         = 'widget_bp_core_friends_widget buddypress widget';
+	$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classnames ) );
+
+	$max_friends = (int) $block_args['maxFriends'];
+	$no_friends  = __( 'Sorry, no members were found.', 'buddypress' );
+
+	/**
+	 * Filters the separator of the friends block nav links.
+	 *
+	 * @since 9.0.0
+	 *
+	 * @param string $separator Separator string. Default '|'.
+	 */
+	$separator = apply_filters( 'bp_friends_block_nav_links_separator', '|' );
+
+	// Make sure the widget ID is unique.
+	$widget_id = uniqid( 'friends-list-' );
+
+	$link = trailingslashit( bp_core_get_user_domain( $user_id ) . bp_get_friends_slug() );
+
+	/* translators: %s is the member's display name */
+	$title = sprintf( __( '%s\'s Friends', 'buddypress' ), bp_core_get_user_displayname( $user_id ) );
+
+	// Set the Block's title.
+	if ( true === $block_args['linkTitle'] ) {
+		$widget_content = sprintf(
+			'<h2 class="widget-title"><a href="%1$s">%2$s</a></h2>',
+			esc_url( $link ),
+			esc_html( $title )
+		);
+	} else {
+		$widget_content = sprintf( '<h2 class="widget-title">%s</h2>', esc_html( $title ) );
+	}
+
+	$item_options = array(
+		'newest'  => array(
+			'class' => '',
+			'label' => __( 'Newest', 'buddypress' ),
+		),
+		'active'  => array(
+			'class' => '',
+			'label' => __( 'Active', 'buddypress' ),
+		),
+		'popular' => array(
+			'class' => '',
+			'label' => __( 'Popular', 'buddypress' ),
+		),
+	);
+
+	$item_options_output = array();
+	$separator_output    = sprintf( ' <span class="bp-separator" role="separator">%s</span> ', esc_html( $separator ) );
+
+	foreach ( $item_options as $item_type => $item_attr ) {
+		if ( $block_args['friendDefault'] === $item_type ) {
+			$item_attr['class'] = ' class="selected"';
+		}
+
+		$item_options_output[] = sprintf(
+			'<a href="%1$s" data-bp-sort="%2$s"%3$s>%4$s</a>',
+			esc_url( $link ),
+			esc_attr( $item_type ),
+			$item_attr['class'],
+			esc_html( $item_attr['label'] )
+		);
+	}
+
+	$preview      = '';
+	$default_args = array(
+		'user_id'         => $user_id,
+		'type'            => $block_args['friendDefault'],
+		'per_page'        => $max_friends,
+		'populate_extras' => true,
+	);
+
+	// Previewing the Block inside the editor.
+	if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
+		$bp_query = bp_core_get_users( $default_args );
+		$preview  = sprintf( '<div class="widget-error">%s</div>', $no_friends );
+
+		if ( is_array( $bp_query['users'] ) && 0 < count( $bp_query['users'] ) ) {
+			$preview = '';
+			foreach ( $bp_query['users'] as $user ) {
+				if ( 'newest' === $block_args['friendDefault'] ) {
+					/* translators: %s is time elapsed since the registration date happened */
+					$extra = sprintf( _x( 'Registered %s', 'The timestamp when the user registered', 'buddypress' ), bp_core_time_since( $user->user_registered ) );
+				} elseif ( 'popular' === $block_args['friendDefault'] && isset( $item_options['popular'] ) && isset( $user->total_friend_count ) ) {
+					/* translators: %s: total friend count */
+					$extra = sprintf( _n( '%s friend', '%s friends', $user->total_friend_count, 'buddypress' ), number_format_i18n( $user->total_friend_count ) );
+				} else {
+					/* translators: %s: a human time diff. */
+					$extra = sprintf( __( 'Active %s', 'buddypress' ), bp_core_time_since( $user->last_activity ) );
+				}
+
+				$preview .= bp_get_dynamic_template_part(
+					'assets/widgets/friends.php',
+					'php',
+					array(
+						'data.link'              => bp_core_get_user_domain( $user->ID, $user->user_nicename, $user->user_login ),
+						'data.name'              => $user->display_name,
+						'data.avatar_urls.thumb' => bp_core_fetch_avatar(
+							array(
+								'item_id' => $user->ID,
+								'html'    => false,
+							)
+						),
+						'data.avatar_alt'        => esc_html(
+							sprintf(
+								/* translators: %s: member name */
+								__( 'Profile picture of %s', 'buddypress' ),
+								$user->display_name
+							)
+						),
+						'data.id'                => $user->ID,
+						'data.extra'             => $extra,
+					)
+				);
+			}
+		}
+	} else {
+		// Get corresponding friends.
+		$path = sprintf(
+			'/%1$s/%2$s/%3$s',
+			bp_rest_namespace(),
+			bp_rest_version(),
+			buddypress()->members->id
+		);
+
+		$default_path = add_query_arg(
+			$default_args,
+			$path
+		);
+
+		$preloaded_friends = array();
+		if ( bp_is_running_wp( '5.0.0' ) ) {
+			$preloaded_friends = rest_preload_api_request( '', $default_path );
+		}
+
+		buddypress()->friends->block_globals['bp/friends']->items[ $widget_id ] = (object) array(
+			'selector'   => $widget_id,
+			'query_args' => $default_args,
+			'preloaded'  => reset( $preloaded_friends ),
+		);
+
+		// Only enqueue common/specific scripts and data once per page load.
+		if ( ! has_action( 'wp_footer', 'bp_friends_blocks_add_script_data', 1 ) ) {
+			wp_set_script_translations( 'bp-friends-script', 'buddypress' );
+			wp_enqueue_script( 'bp-friends-script' );
+			wp_localize_script(
+				'bp-friends-script',
+				'bpFriendsSettings',
+				array(
+					'path'  => ltrim( $path, '/' ),
+					'root'  => esc_url_raw( get_rest_url() ),
+					'nonce' => wp_create_nonce( 'wp_rest' ),
+				)
+			);
+
+			add_action( 'wp_footer', 'bp_friends_blocks_add_script_data', 1 );
+		}
+	}
+
+	$widget_content .= sprintf(
+		'<div class="item-options">
+			%1$s
+		</div>
+		<ul id="%2$s" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true">
+			%3$s
+		</ul>',
+		implode( $separator_output, $item_options_output ),
+		esc_attr( $widget_id ),
+		$preview
+	);
+
+	// Adds a container to make sure the block is styled even when used into the Columns parent block.
+	$widget_content = sprintf( '<div class="bp-dynamic-block-container">%s</div>', "\n" . $widget_content . "\n" );
+
+	// Only add a block wrapper if not loaded into a Widgets sidebar.
+	if ( ! did_action( 'dynamic_sidebar_before' ) ) {
+		return sprintf(
+			'<div %1$s>%2$s</div>',
+			$wrapper_attributes,
+			$widget_content
+		);
+	}
+
+	return $widget_content;
+}
diff --git src/bp-friends/bp-friends-cssjs.php src/bp-friends/bp-friends-cssjs.php
new file mode 100644
index 000000000..8e97d3d57
--- /dev/null
+++ src/bp-friends/bp-friends-cssjs.php
@@ -0,0 +1,35 @@
+<?php
+/**
+ * BP Friends component CSS/JS.
+ *
+ * @package BuddyPress
+ * @subpackage FriendsScripts
+ * @since 9.0.0
+ */
+
+// Exit if accessed directly.
+if ( ! defined( 'ABSPATH' ) ) {
+	exit;
+}
+
+/**
+ * Registers the script to manage the dynamic part of the Friends widget/block.
+ *
+ * @since 9.0.0
+ *
+ * @param array $scripts Data about the scripts to register.
+ * @return array Data about the scripts to register.
+ */
+function bp_friends_register_scripts( $scripts = array() ) {
+	$scripts['bp-friends-script'] = array(
+		'file'         => plugins_url( 'js/friends.js', __FILE__ ),
+		'dependencies' => array(
+			'bp-dynamic-widget-block-script',
+			'wp-i18n',
+		),
+		'footer'       => true,
+	);
+
+	return $scripts;
+}
+add_filter( 'bp_core_register_common_scripts', 'bp_friends_register_scripts', 9, 1 );
diff --git src/bp-friends/classes/class-bp-friends-component.php src/bp-friends/classes/class-bp-friends-component.php
index 29594f04a..c0091c67d 100644
--- src/bp-friends/classes/class-bp-friends-component.php
+++ src/bp-friends/classes/class-bp-friends-component.php
@@ -46,11 +46,13 @@ class BP_Friends_Component extends BP_Component {
 	 */
 	public function includes( $includes = array() ) {
 		$includes = array(
+			'cssjs',
 			'cache',
 			'filters',
 			'template',
 			'functions',
 			'widgets',
+			'blocks',
 		);
 
 		// Conditional includes.
@@ -133,7 +135,12 @@ class BP_Friends_Component extends BP_Component {
 			'has_directory'         => false,
 			'search_string'         => __( 'Search Friends...', 'buddypress' ),
 			'notification_callback' => 'friends_format_notifications',
-			'global_tables'         => $global_tables
+			'global_tables'         => $global_tables,
+			'block_globals'         => array(
+				'bp/friends' => array(
+					'widget_classnames' => array( 'widget_bp_core_friends_widget', 'buddypress' ),
+				)
+			),
 		);
 
 		parent::setup_globals( $args );
@@ -347,6 +354,44 @@ class BP_Friends_Component extends BP_Component {
 	 *                      description.
 	 */
 	public function blocks_init( $blocks = array() ) {
-		parent::blocks_init( array() );
+		parent::blocks_init(
+			array(
+				'bp/friends' => array(
+					'name'               => 'bp/friends',
+					'editor_script'      => 'bp-friends-block',
+					'editor_script_url'  => plugins_url( 'js/blocks/friends.js', dirname( __FILE__ ) ),
+					'editor_script_deps' => array(
+						'wp-blocks',
+						'wp-element',
+						'wp-components',
+						'wp-i18n',
+						'wp-block-editor',
+						'bp-block-data',
+						'bp-block-components',
+					),
+					'style'              => 'bp-friends-block',
+					'style_url'          => plugins_url( 'css/blocks/friends.css', dirname( __FILE__ ) ),
+					'attributes'         => array(
+						'maxFriends'    => array(
+							'type'    => 'number',
+							'default' => 5,
+						),
+						'friendDefault' => array(
+							'type'    => 'string',
+							'default' => 'active',
+						),
+						'linkTitle'     => array(
+							'type'    => 'boolean',
+							'default' => false,
+						),
+						'postId'        => array(
+							'type'    => 'number',
+							'default' => 0,
+						),
+					),
+					'render_callback'    => 'bp_friends_render_friends_block',
+				),
+			)
+		);
 	}
 }
diff --git src/bp-friends/css/blocks/friends-rtl.css src/bp-friends/css/blocks/friends-rtl.css
new file mode 100644
index 000000000..8aff30506
--- /dev/null
+++ src/bp-friends/css/blocks/friends-rtl.css
@@ -0,0 +1,36 @@
+.bp-dynamic-block-container .item-options {
+	font-size: 0.5em;
+	margin: 0 0 1em;
+	padding: 1em 0;
+}
+
+.bp-dynamic-block-container .item-options a.selected {
+	font-weight: 600;
+}
+
+.bp-dynamic-block-container ul.item-list {
+	list-style: none;
+	margin: 1em 0;
+}
+
+.bp-dynamic-block-container ul.item-list li {
+	margin-bottom: 1em;
+}
+
+.bp-dynamic-block-container ul.item-list li:before, .bp-dynamic-block-container ul.item-list li:after {
+	content: " ";
+	display: table;
+}
+
+.bp-dynamic-block-container ul.item-list li:after {
+	clear: both;
+}
+
+.bp-dynamic-block-container ul.item-list li .item-avatar {
+	float: right;
+	width: 60px;
+}
+
+.bp-dynamic-block-container ul.item-list li .item {
+	margin-right: 70px;
+}
diff --git src/bp-friends/css/blocks/friends.css src/bp-friends/css/blocks/friends.css
new file mode 100644
index 000000000..110c8aaa5
--- /dev/null
+++ src/bp-friends/css/blocks/friends.css
@@ -0,0 +1,36 @@
+.bp-dynamic-block-container .item-options {
+	font-size: 0.5em;
+	margin: 0 0 1em;
+	padding: 1em 0;
+}
+
+.bp-dynamic-block-container .item-options a.selected {
+	font-weight: 600;
+}
+
+.bp-dynamic-block-container ul.item-list {
+	list-style: none;
+	margin: 1em 0;
+}
+
+.bp-dynamic-block-container ul.item-list li {
+	margin-bottom: 1em;
+}
+
+.bp-dynamic-block-container ul.item-list li:before, .bp-dynamic-block-container ul.item-list li:after {
+	content: " ";
+	display: table;
+}
+
+.bp-dynamic-block-container ul.item-list li:after {
+	clear: both;
+}
+
+.bp-dynamic-block-container ul.item-list li .item-avatar {
+	float: left;
+	width: 60px;
+}
+
+.bp-dynamic-block-container ul.item-list li .item {
+	margin-left: 70px;
+}
diff --git src/bp-friends/js/blocks/friends.js src/bp-friends/js/blocks/friends.js
new file mode 100644
index 000000000..611ea18c8
--- /dev/null
+++ src/bp-friends/js/blocks/friends.js
@@ -0,0 +1,334 @@
+// modules are defined as an array
+// [ module function, map of requires ]
+//
+// map of requires is short require name -> numeric require
+//
+// anything defined in a previous bundle is accessed via the
+// orig method which is the require for previous bundles
+parcelRequire = (function (modules, cache, entry, globalName) {
+  // Save the require from previous bundle to this closure if any
+  var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
+  var nodeRequire = typeof require === 'function' && require;
+
+  function newRequire(name, jumped) {
+    if (!cache[name]) {
+      if (!modules[name]) {
+        // if we cannot find the module within our internal map or
+        // cache jump to the current global require ie. the last bundle
+        // that was added to the page.
+        var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
+        if (!jumped && currentRequire) {
+          return currentRequire(name, true);
+        }
+
+        // If there are other bundles on this page the require from the
+        // previous one is saved to 'previousRequire'. Repeat this as
+        // many times as there are bundles until the module is found or
+        // we exhaust the require chain.
+        if (previousRequire) {
+          return previousRequire(name, true);
+        }
+
+        // Try the node require function if it exists.
+        if (nodeRequire && typeof name === 'string') {
+          return nodeRequire(name);
+        }
+
+        var err = new Error('Cannot find module \'' + name + '\'');
+        err.code = 'MODULE_NOT_FOUND';
+        throw err;
+      }
+
+      localRequire.resolve = resolve;
+      localRequire.cache = {};
+
+      var module = cache[name] = new newRequire.Module(name);
+
+      modules[name][0].call(module.exports, localRequire, module, module.exports, this);
+    }
+
+    return cache[name].exports;
+
+    function localRequire(x){
+      return newRequire(localRequire.resolve(x));
+    }
+
+    function resolve(x){
+      return modules[name][1][x] || x;
+    }
+  }
+
+  function Module(moduleName) {
+    this.id = moduleName;
+    this.bundle = newRequire;
+    this.exports = {};
+  }
+
+  newRequire.isParcelRequire = true;
+  newRequire.Module = Module;
+  newRequire.modules = modules;
+  newRequire.cache = cache;
+  newRequire.parent = previousRequire;
+  newRequire.register = function (id, exports) {
+    modules[id] = [function (require, module) {
+      module.exports = exports;
+    }, {}];
+  };
+
+  var error;
+  for (var i = 0; i < entry.length; i++) {
+    try {
+      newRequire(entry[i]);
+    } catch (e) {
+      // Save first error but execute all entries
+      if (!error) {
+        error = e;
+      }
+    }
+  }
+
+  if (entry.length) {
+    // Expose entry point to Node, AMD or browser globals
+    // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
+    var mainExports = newRequire(entry[entry.length - 1]);
+
+    // CommonJS
+    if (typeof exports === "object" && typeof module !== "undefined") {
+      module.exports = mainExports;
+
+    // RequireJS
+    } else if (typeof define === "function" && define.amd) {
+     define(function () {
+       return mainExports;
+     });
+
+    // <script>
+    } else if (globalName) {
+      this[globalName] = mainExports;
+    }
+  }
+
+  // Override the current require with this new one
+  parcelRequire = newRequire;
+
+  if (error) {
+    // throw error from earlier, _after updating parcelRequire_
+    throw error;
+  }
+
+  return newRequire;
+})({"CSIX":[function(require,module,exports) {
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.TYPES = void 0;
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    __ = _wp.i18n.__;
+/**
+ * Friends ordering types.
+ *
+ * @type {Array}
+ */
+
+var TYPES = [{
+  label: __('Newest', 'buddypress'),
+  value: 'newest'
+}, {
+  label: __('Active', 'buddypress'),
+  value: 'active'
+}, {
+  label: __('Popular', 'buddypress'),
+  value: 'popular'
+}];
+exports.TYPES = TYPES;
+},{}],"qXsY":[function(require,module,exports) {
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+
+var _constants = require("./constants");
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    InspectorControls = _wp.blockEditor.InspectorControls,
+    _wp$components = _wp.components,
+    Disabled = _wp$components.Disabled,
+    PanelBody = _wp$components.PanelBody,
+    RangeControl = _wp$components.RangeControl,
+    SelectControl = _wp$components.SelectControl,
+    ToggleControl = _wp$components.ToggleControl,
+    _wp$element = _wp.element,
+    Fragment = _wp$element.Fragment,
+    createElement = _wp$element.createElement,
+    __ = _wp.i18n.__;
+/**
+ * BuddyPress dependencies.
+ */
+
+var _bp = bp,
+    ServerSideRender = _bp.blockComponents.ServerSideRender,
+    currentPostId = _bp.blockData.currentPostId;
+/**
+ * Internal dependencies.
+ */
+
+var editDynamicFriendsBlock = function editDynamicFriendsBlock(_ref) {
+  var attributes = _ref.attributes,
+      setAttributes = _ref.setAttributes;
+  var postId = attributes.postId,
+      maxFriends = attributes.maxFriends,
+      friendDefault = attributes.friendDefault,
+      linkTitle = attributes.linkTitle;
+  var post = currentPostId();
+
+  if (!postId && post) {
+    setAttributes({
+      postId: post
+    });
+  }
+
+  return createElement(Fragment, null, createElement(InspectorControls, null, createElement(PanelBody, {
+    title: __('Settings', 'buddypress'),
+    initialOpen: true
+  }, createElement(RangeControl, {
+    label: __('Max friends to show', 'buddypress'),
+    value: maxFriends,
+    onChange: function onChange(value) {
+      return setAttributes({
+        maxFriends: value
+      });
+    },
+    min: 1,
+    max: 10,
+    required: true
+  }), createElement(SelectControl, {
+    label: __('Default members to show', 'buddypress'),
+    value: friendDefault,
+    options: _constants.TYPES,
+    onChange: function onChange(option) {
+      setAttributes({
+        friendDefault: option
+      });
+    }
+  }), createElement(ToggleControl, {
+    label: __('Link block title to Member\'s profile friends page', 'buddypress'),
+    checked: !!linkTitle,
+    onChange: function onChange() {
+      setAttributes({
+        linkTitle: !linkTitle
+      });
+    }
+  }))), createElement(Disabled, null, createElement(ServerSideRender, {
+    block: "bp/friends",
+    attributes: attributes
+  })));
+};
+
+var _default = editDynamicFriendsBlock;
+exports.default = _default;
+},{"./constants":"CSIX"}],"fch3":[function(require,module,exports) {
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = void 0;
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    createBlock = _wp.blocks.createBlock;
+/**
+ * Transforms Legacy Widget to Friends Block.
+ *
+ * @type {Object}
+ */
+
+var transforms = {
+  from: [{
+    type: 'block',
+    blocks: ['core/legacy-widget'],
+    isMatch: function isMatch(_ref) {
+      var idBase = _ref.idBase,
+          instance = _ref.instance;
+
+      if (!(instance !== null && instance !== void 0 && instance.raw)) {
+        return false;
+      }
+
+      return idBase === 'bp_core_friends_widget';
+    },
+    transform: function transform(_ref2) {
+      var instance = _ref2.instance;
+      return createBlock('bp/friends', {
+        maxFriends: instance.raw.max_friends,
+        friendDefault: instance.raw.friend_default,
+        linkTitle: instance.raw.link_title
+      });
+    }
+  }]
+};
+var _default = transforms;
+exports.default = _default;
+},{}],"Z2R5":[function(require,module,exports) {
+"use strict";
+
+var _edit = _interopRequireDefault(require("./friends/edit"));
+
+var _transforms = _interopRequireDefault(require("./friends/transforms"));
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    registerBlockType = _wp.blocks.registerBlockType,
+    __ = _wp.i18n.__;
+/**
+ * Internal dependencies.
+ */
+
+registerBlockType('bp/friends', {
+  title: __('Friends List', 'buddypress'),
+  description: __('A dynamic list of recently active, popular, and newest friends of the post author (when used into a page or post) or of the displayed member (when used in a widgetized area). If author/member data is not available the block is not displayed.', 'buddypress'),
+  icon: {
+    background: '#fff',
+    foreground: '#d84800',
+    src: 'buddicons-friends'
+  },
+  category: 'buddypress',
+  attributes: {
+    maxFriends: {
+      type: 'number',
+      default: 5
+    },
+    friendDefault: {
+      type: 'string',
+      default: 'active'
+    },
+    linkTitle: {
+      type: 'boolean',
+      default: false
+    },
+    postId: {
+      type: 'number',
+      default: 0
+    }
+  },
+  edit: _edit.default,
+  transforms: _transforms.default
+});
+},{"./friends/edit":"qXsY","./friends/transforms":"fch3"}]},{},["Z2R5"], null)
\ No newline at end of file
diff --git src/bp-friends/js/friends.js src/bp-friends/js/friends.js
new file mode 100644
index 000000000..93de95628
--- /dev/null
+++ src/bp-friends/js/friends.js
@@ -0,0 +1,261 @@
+// modules are defined as an array
+// [ module function, map of requires ]
+//
+// map of requires is short require name -> numeric require
+//
+// anything defined in a previous bundle is accessed via the
+// orig method which is the require for previous bundles
+parcelRequire = (function (modules, cache, entry, globalName) {
+  // Save the require from previous bundle to this closure if any
+  var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
+  var nodeRequire = typeof require === 'function' && require;
+
+  function newRequire(name, jumped) {
+    if (!cache[name]) {
+      if (!modules[name]) {
+        // if we cannot find the module within our internal map or
+        // cache jump to the current global require ie. the last bundle
+        // that was added to the page.
+        var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
+        if (!jumped && currentRequire) {
+          return currentRequire(name, true);
+        }
+
+        // If there are other bundles on this page the require from the
+        // previous one is saved to 'previousRequire'. Repeat this as
+        // many times as there are bundles until the module is found or
+        // we exhaust the require chain.
+        if (previousRequire) {
+          return previousRequire(name, true);
+        }
+
+        // Try the node require function if it exists.
+        if (nodeRequire && typeof name === 'string') {
+          return nodeRequire(name);
+        }
+
+        var err = new Error('Cannot find module \'' + name + '\'');
+        err.code = 'MODULE_NOT_FOUND';
+        throw err;
+      }
+
+      localRequire.resolve = resolve;
+      localRequire.cache = {};
+
+      var module = cache[name] = new newRequire.Module(name);
+
+      modules[name][0].call(module.exports, localRequire, module, module.exports, this);
+    }
+
+    return cache[name].exports;
+
+    function localRequire(x){
+      return newRequire(localRequire.resolve(x));
+    }
+
+    function resolve(x){
+      return modules[name][1][x] || x;
+    }
+  }
+
+  function Module(moduleName) {
+    this.id = moduleName;
+    this.bundle = newRequire;
+    this.exports = {};
+  }
+
+  newRequire.isParcelRequire = true;
+  newRequire.Module = Module;
+  newRequire.modules = modules;
+  newRequire.cache = cache;
+  newRequire.parent = previousRequire;
+  newRequire.register = function (id, exports) {
+    modules[id] = [function (require, module) {
+      module.exports = exports;
+    }, {}];
+  };
+
+  var error;
+  for (var i = 0; i < entry.length; i++) {
+    try {
+      newRequire(entry[i]);
+    } catch (e) {
+      // Save first error but execute all entries
+      if (!error) {
+        error = e;
+      }
+    }
+  }
+
+  if (entry.length) {
+    // Expose entry point to Node, AMD or browser globals
+    // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
+    var mainExports = newRequire(entry[entry.length - 1]);
+
+    // CommonJS
+    if (typeof exports === "object" && typeof module !== "undefined") {
+      module.exports = mainExports;
+
+    // RequireJS
+    } else if (typeof define === "function" && define.amd) {
+     define(function () {
+       return mainExports;
+     });
+
+    // <script>
+    } else if (globalName) {
+      this[globalName] = mainExports;
+    }
+  }
+
+  // Override the current require with this new one
+  parcelRequire = newRequire;
+
+  if (error) {
+    // throw error from earlier, _after updating parcelRequire_
+    throw error;
+  }
+
+  return newRequire;
+})({"pMhP":[function(require,module,exports) {
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+
+function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
+
+function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
+
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
+
+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+
+function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
+
+function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
+
+function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
+
+function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
+
+function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
+
+/**
+ * WordPress dependencies.
+ */
+var _wp = wp,
+    _wp$i18n = _wp.i18n,
+    __ = _wp$i18n.__,
+    sprintf = _wp$i18n.sprintf;
+/**
+ * BuddyPress dependencies.
+ */
+
+var _bp = bp,
+    dynamicWidgetBlock = _bp.dynamicWidgetBlock;
+/**
+ * Front-end Friends block class.
+ */
+
+var bpFriendsWidgetBlock = /*#__PURE__*/function (_dynamicWidgetBlock) {
+  _inherits(bpFriendsWidgetBlock, _dynamicWidgetBlock);
+
+  var _super = _createSuper(bpFriendsWidgetBlock);
+
+  function bpFriendsWidgetBlock() {
+    _classCallCheck(this, bpFriendsWidgetBlock);
+
+    return _super.apply(this, arguments);
+  }
+
+  _createClass(bpFriendsWidgetBlock, [{
+    key: "loop",
+    value: function loop() {
+      var friends = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+      var container = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+      var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'active';
+
+      var tmpl = _get(_getPrototypeOf(bpFriendsWidgetBlock.prototype), "useTemplate", this).call(this, 'bp-friends-item');
+
+      var selector = document.querySelector('#' + container);
+      var output = '';
+
+      if (friends && friends.length) {
+        friends.forEach(function (friend) {
+          if ('active' === type && friend.last_activity) {
+            /* translators: %s: a human time diff. */
+            friend.extra = sprintf(__('Active %s', 'buddypress'), friend.last_activity.timediff);
+          } else if ('popular' === type && friend.total_friend_count) {
+            var friendsCount = parseInt(friend.total_friend_count, 10);
+
+            if (0 === friendsCount) {
+              friend.extra = __('No friends', 'buddypress');
+            } else if (1 === friendsCount) {
+              friend.extra = __('1 friend', 'buddypress');
+            } else {
+              /* translators: %s: total friend count (more than 1). */
+              friend.extra = sprintf(__('%s friends', 'buddypress'), friend.total_friend_count);
+            }
+          } else if ('newest' === type && friend.registered_since) {
+            /* translators: %s is time elapsed since the registration date happened */
+            friend.extra = sprintf(__('Registered %s', 'buddypress'), friend.registered_since);
+          }
+          /* translators: %s: member name */
+
+
+          friend.avatar_alt = sprintf(__('Profile picture of %s', 'buddypress'), friend.name);
+          output += tmpl(friend);
+        });
+      } else {
+        output = '<div class="widget-error">' + __('Sorry, no members were found.', 'buddypress') + '</div>';
+      }
+
+      selector.innerHTML = output;
+    }
+  }, {
+    key: "start",
+    value: function start() {
+      var _this = this;
+
+      this.blocks.forEach(function (block, i) {
+        var selector = block.selector;
+        var type = block.query_args.type;
+        var list = document.querySelector('#' + selector).closest('.bp-dynamic-block-container'); // Get default Block's type friends.
+
+        _get(_getPrototypeOf(bpFriendsWidgetBlock.prototype), "getItems", _this).call(_this, type, i); // Listen to Block's Nav item clics
+
+
+        list.querySelectorAll('.item-options a').forEach(function (navItem) {
+          navItem.addEventListener('click', function (event) {
+            event.preventDefault(); // Changes the displayed filter.
+
+            event.target.closest('.item-options').querySelector('.selected').classList.remove('selected');
+            event.target.classList.add('selected');
+            var newType = event.target.getAttribute('data-bp-sort');
+
+            if (newType !== _this.blocks[i].query_args.type) {
+              _get(_getPrototypeOf(bpFriendsWidgetBlock.prototype), "getItems", _this).call(_this, newType, i);
+            }
+          });
+        });
+      });
+    }
+  }]);
+
+  return bpFriendsWidgetBlock;
+}(dynamicWidgetBlock);
+
+var settings = window.bpFriendsSettings || {};
+var blocks = window.bpFriendsBlocks || {};
+var bpFriends = new bpFriendsWidgetBlock(settings, blocks);
+
+if ('loading' === document.readyState) {
+  document.addEventListener('DOMContentLoaded', bpFriends.start());
+} else {
+  bpFriends.start();
+}
+},{}]},{},["pMhP"], null)
\ No newline at end of file
diff --git src/bp-friends/sass/blocks/friends.scss src/bp-friends/sass/blocks/friends.scss
new file mode 100644
index 000000000..35104d10d
--- /dev/null
+++ src/bp-friends/sass/blocks/friends.scss
@@ -0,0 +1,40 @@
+.bp-dynamic-block-container {
+
+	.item-options {
+		font-size: 0.5em;
+		margin: 0 0 1em;
+		padding: 1em 0;
+
+		a.selected {
+			font-weight: 600;
+		}
+	}
+
+	ul.item-list {
+		list-style: none;
+		margin: 1em 0;
+
+		li {
+			margin-bottom: 1em;
+
+			&:before,
+			&:after {
+				content: " ";
+				display: table;
+			}
+
+			&:after {
+				clear: both;
+			}
+
+			.item-avatar {
+				float: left;
+				width: 60px;
+			}
+
+			.item {
+				margin-left: 70px;
+			}
+		}
+	}
+}
diff --git src/bp-groups/js/blocks/groups.js src/bp-groups/js/blocks/groups.js
index 30ac54b00..092956c2f 100644
--- src/bp-groups/js/blocks/groups.js
+++ src/bp-groups/js/blocks/groups.js
@@ -117,7 +117,7 @@ parcelRequire = (function (modules, cache, entry, globalName) {
   }
 
   return newRequire;
-})({"LGpM":[function(require,module,exports) {
+})({"jEQo":[function(require,module,exports) {
 function _arrayLikeToArray(arr, len) {
   if (len == null || len > arr.length) len = arr.length;
 
@@ -137,13 +137,13 @@ function _arrayWithoutHoles(arr) {
 }
 
 module.exports = _arrayWithoutHoles;
-},{"./arrayLikeToArray":"LGpM"}],"lZpU":[function(require,module,exports) {
+},{"./arrayLikeToArray":"jEQo"}],"lZpU":[function(require,module,exports) {
 function _iterableToArray(iter) {
   if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
 }
 
 module.exports = _iterableToArray;
-},{}],"Vzqv":[function(require,module,exports) {
+},{}],"Dbv9":[function(require,module,exports) {
 var arrayLikeToArray = require("./arrayLikeToArray");
 
 function _unsupportedIterableToArray(o, minLen) {
@@ -156,7 +156,7 @@ function _unsupportedIterableToArray(o, minLen) {
 }
 
 module.exports = _unsupportedIterableToArray;
-},{"./arrayLikeToArray":"LGpM"}],"NCaH":[function(require,module,exports) {
+},{"./arrayLikeToArray":"jEQo"}],"NCaH":[function(require,module,exports) {
 function _nonIterableSpread() {
   throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 }
@@ -176,13 +176,13 @@ function _toConsumableArray(arr) {
 }
 
 module.exports = _toConsumableArray;
-},{"./arrayWithoutHoles":"o3SL","./iterableToArray":"lZpU","./unsupportedIterableToArray":"Vzqv","./nonIterableSpread":"NCaH"}],"dEOc":[function(require,module,exports) {
+},{"./arrayWithoutHoles":"o3SL","./iterableToArray":"lZpU","./unsupportedIterableToArray":"Dbv9","./nonIterableSpread":"NCaH"}],"DCTP":[function(require,module,exports) {
 function _arrayWithHoles(arr) {
   if (Array.isArray(arr)) return arr;
 }
 
 module.exports = _arrayWithHoles;
-},{}],"RonT":[function(require,module,exports) {
+},{}],"LoeL":[function(require,module,exports) {
 function _iterableToArrayLimit(arr, i) {
   if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
   var _arr = [];
@@ -211,13 +211,13 @@ function _iterableToArrayLimit(arr, i) {
 }
 
 module.exports = _iterableToArrayLimit;
-},{}],"sa4T":[function(require,module,exports) {
+},{}],"MWEO":[function(require,module,exports) {
 function _nonIterableRest() {
   throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 }
 
 module.exports = _nonIterableRest;
-},{}],"xkYc":[function(require,module,exports) {
+},{}],"DERy":[function(require,module,exports) {
 var arrayWithHoles = require("./arrayWithHoles");
 
 var iterableToArrayLimit = require("./iterableToArrayLimit");
@@ -231,7 +231,7 @@ function _slicedToArray(arr, i) {
 }
 
 module.exports = _slicedToArray;
-},{"./arrayWithHoles":"dEOc","./iterableToArrayLimit":"RonT","./unsupportedIterableToArray":"Vzqv","./nonIterableRest":"sa4T"}],"jS06":[function(require,module,exports) {
+},{"./arrayWithHoles":"DCTP","./iterableToArrayLimit":"LoeL","./unsupportedIterableToArray":"Dbv9","./nonIterableRest":"MWEO"}],"jS06":[function(require,module,exports) {
 "use strict";
 
 Object.defineProperty(exports, "__esModule", {
@@ -566,7 +566,7 @@ var editGroupsBlock = function editGroupsBlock(_ref) {
 
 var _default = editGroupsBlock;
 exports.default = _default;
-},{"@babel/runtime/helpers/toConsumableArray":"I9dH","@babel/runtime/helpers/slicedToArray":"xkYc","./constants":"jS06"}],"jcTh":[function(require,module,exports) {
+},{"@babel/runtime/helpers/toConsumableArray":"I9dH","@babel/runtime/helpers/slicedToArray":"DERy","./constants":"jS06"}],"jcTh":[function(require,module,exports) {
 "use strict";
 
 var _edit = _interopRequireDefault(require("./groups/edit"));
diff --git src/bp-members/js/blocks/members.js src/bp-members/js/blocks/members.js
index 61f8c6b9e..a37f593c2 100644
--- src/bp-members/js/blocks/members.js
+++ src/bp-members/js/blocks/members.js
@@ -117,7 +117,7 @@ parcelRequire = (function (modules, cache, entry, globalName) {
   }
 
   return newRequire;
-})({"LGpM":[function(require,module,exports) {
+})({"jEQo":[function(require,module,exports) {
 function _arrayLikeToArray(arr, len) {
   if (len == null || len > arr.length) len = arr.length;
 
@@ -137,13 +137,13 @@ function _arrayWithoutHoles(arr) {
 }
 
 module.exports = _arrayWithoutHoles;
-},{"./arrayLikeToArray":"LGpM"}],"lZpU":[function(require,module,exports) {
+},{"./arrayLikeToArray":"jEQo"}],"lZpU":[function(require,module,exports) {
 function _iterableToArray(iter) {
   if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
 }
 
 module.exports = _iterableToArray;
-},{}],"Vzqv":[function(require,module,exports) {
+},{}],"Dbv9":[function(require,module,exports) {
 var arrayLikeToArray = require("./arrayLikeToArray");
 
 function _unsupportedIterableToArray(o, minLen) {
@@ -156,7 +156,7 @@ function _unsupportedIterableToArray(o, minLen) {
 }
 
 module.exports = _unsupportedIterableToArray;
-},{"./arrayLikeToArray":"LGpM"}],"NCaH":[function(require,module,exports) {
+},{"./arrayLikeToArray":"jEQo"}],"NCaH":[function(require,module,exports) {
 function _nonIterableSpread() {
   throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 }
@@ -176,13 +176,13 @@ function _toConsumableArray(arr) {
 }
 
 module.exports = _toConsumableArray;
-},{"./arrayWithoutHoles":"o3SL","./iterableToArray":"lZpU","./unsupportedIterableToArray":"Vzqv","./nonIterableSpread":"NCaH"}],"dEOc":[function(require,module,exports) {
+},{"./arrayWithoutHoles":"o3SL","./iterableToArray":"lZpU","./unsupportedIterableToArray":"Dbv9","./nonIterableSpread":"NCaH"}],"DCTP":[function(require,module,exports) {
 function _arrayWithHoles(arr) {
   if (Array.isArray(arr)) return arr;
 }
 
 module.exports = _arrayWithHoles;
-},{}],"RonT":[function(require,module,exports) {
+},{}],"LoeL":[function(require,module,exports) {
 function _iterableToArrayLimit(arr, i) {
   if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
   var _arr = [];
@@ -211,13 +211,13 @@ function _iterableToArrayLimit(arr, i) {
 }
 
 module.exports = _iterableToArrayLimit;
-},{}],"sa4T":[function(require,module,exports) {
+},{}],"MWEO":[function(require,module,exports) {
 function _nonIterableRest() {
   throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
 }
 
 module.exports = _nonIterableRest;
-},{}],"xkYc":[function(require,module,exports) {
+},{}],"DERy":[function(require,module,exports) {
 var arrayWithHoles = require("./arrayWithHoles");
 
 var iterableToArrayLimit = require("./iterableToArrayLimit");
@@ -231,7 +231,7 @@ function _slicedToArray(arr, i) {
 }
 
 module.exports = _slicedToArray;
-},{"./arrayWithHoles":"dEOc","./iterableToArrayLimit":"RonT","./unsupportedIterableToArray":"Vzqv","./nonIterableRest":"sa4T"}],"gr8I":[function(require,module,exports) {
+},{"./arrayWithHoles":"DCTP","./iterableToArrayLimit":"LoeL","./unsupportedIterableToArray":"Dbv9","./nonIterableRest":"MWEO"}],"gr8I":[function(require,module,exports) {
 "use strict";
 
 Object.defineProperty(exports, "__esModule", {
@@ -562,7 +562,7 @@ var editMembersBlock = function editMembersBlock(_ref) {
 
 var _default = editMembersBlock;
 exports.default = _default;
-},{"@babel/runtime/helpers/toConsumableArray":"I9dH","@babel/runtime/helpers/slicedToArray":"xkYc","./constants":"gr8I"}],"XEHU":[function(require,module,exports) {
+},{"@babel/runtime/helpers/toConsumableArray":"I9dH","@babel/runtime/helpers/slicedToArray":"DERy","./constants":"gr8I"}],"XEHU":[function(require,module,exports) {
 "use strict";
 
 var _edit = _interopRequireDefault(require("./members/edit"));
diff --git src/bp-templates/bp-legacy/buddypress/assets/widgets/friends.php src/bp-templates/bp-legacy/buddypress/assets/widgets/friends.php
new file mode 100644
index 000000000..866d91691
--- /dev/null
+++ src/bp-templates/bp-legacy/buddypress/assets/widgets/friends.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Friends Widget Block template.
+ *
+ * @since 9.0.0
+ *
+ * @package BuddyPress
+ * @subpackage bp-legacy
+ * @version 9.0.0
+ */
+?>
+<script type="html/template" id="tmpl-bp-friends-item">
+	<li class="vcard">
+		<div class="item-avatar">
+			<a href="{{{data.link}}}" class="bp-tooltip" data-bp-tooltip="{{data.name}}">
+				<img loading="lazy" src="{{{data.avatar_urls.thumb}}}" class="avatar user-{{data.id}}-avatar avatar-50 photo" width="50" height="50" alt="{{{data.avatar_alt}}}">
+			</a>
+		</div>
+
+		<div class="item">
+			<div class="item-title fn"><a href="{{{data.link}}}">{{data.name}}</a></div>
+			<div class="item-meta">
+				<span class="activity">{{data.extra}}</span>
+			</div>
+		</div>
+	</li>
+</script>
diff --git src/bp-templates/bp-nouveau/buddypress/assets/widgets/friends.php src/bp-templates/bp-nouveau/buddypress/assets/widgets/friends.php
new file mode 100644
index 000000000..6bb4fc72a
--- /dev/null
+++ src/bp-templates/bp-nouveau/buddypress/assets/widgets/friends.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Friends Widget Block template.
+ *
+ * @since 9.0.0
+ *
+ * @package BuddyPress
+ * @subpackage bp-nouveau
+ * @version 9.0.0
+ */
+?>
+<script type="html/template" id="tmpl-bp-friends-item">
+	<li class="vcard">
+		<div class="item-avatar">
+			<a href="{{{data.link}}}" class="bp-tooltip" data-bp-tooltip="{{data.name}}">
+				<img loading="lazy" src="{{{data.avatar_urls.thumb}}}" class="avatar user-{{data.id}}-avatar avatar-50 photo" width="50" height="50" alt="{{{data.avatar_alt}}}">
+			</a>
+		</div>
+
+		<div class="item">
+			<div class="item-title fn"><a href="{{{data.link}}}">{{data.name}}</a></div>
+			<div class="item-meta">
+				<span class="activity">{{data.extra}}</span>
+			</div>
+		</div>
+	</li>
+</script>
diff --git src/js/bp-core/js/dynamic-widget-block.js src/js/bp-core/js/dynamic-widget-block.js
new file mode 100644
index 000000000..b62550220
--- /dev/null
+++ src/js/bp-core/js/dynamic-widget-block.js
@@ -0,0 +1,86 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	url: {
+		addQueryArgs,
+	},
+} = wp;
+
+/**
+ * External dependencies.
+ */
+const {
+	template,
+} = lodash;
+
+// Use the bp global.
+window.bp = window.bp || {};
+
+/**
+ * Generic class to be used by Dynamic Widget Blocks.
+ *
+ * @since 9.0.0
+ */
+bp.dynamicWidgetBlock = class bpDynamicWidgetBlock {
+	constructor( settings, blocks ) {
+		const { path, root, nonce } = settings;
+		this.path = path;
+		this.root = root;
+		this.nonce = nonce,
+		this.blocks = blocks;
+
+		this.blocks.forEach( ( block, i ) => {
+			const { type } = block.query_args || 'active';
+			const { body } = block.preloaded || [];
+
+			this.blocks[ i ].items = {
+				'active': [],
+				'newest': [],
+				'popular': [],
+				'alphabetical': [],
+			}
+
+			if ( ! this.blocks[ i ].items[ type ].length && body && body.length ) {
+				this.blocks[ i ].items[ type ] = body;
+			}
+		} );
+	}
+
+	useTemplate( tmpl ) {
+		const options = {
+			evaluate:    /<#([\s\S]+?)#>/g,
+			interpolate: /\{\{\{([\s\S]+?)\}\}\}/g,
+			escape:      /\{\{([^\}]+?)\}\}(?!\})/g,
+			variable:    'data'
+		};
+
+		return template( document.querySelector( '#tmpl-' + tmpl ).innerHTML, options );
+	}
+
+	loop() {
+		// This method needs to be overriden.
+	}
+
+	getItems( type = 'active', blockIndex = 0 ) {
+		this.blocks[ blockIndex ].query_args.type = type;
+
+		if ( this.blocks[ blockIndex ].items[ type ].length ) {
+			this.loop( this.blocks[ blockIndex ].items[ type ], this.blocks[ blockIndex ].selector, type );
+		} else {
+			fetch( addQueryArgs( this.root + this.path, this.blocks[ blockIndex ].query_args ), {
+				method: 'GET',
+				headers: {
+					'X-WP-Nonce' : this.nonce,
+				}
+			} ).then(
+				( response ) => response.json()
+			).then(
+				( data ) => {
+					this.blocks[ blockIndex ].items[ type ] = data;
+					this.loop( this.blocks[ blockIndex ].items[ type ], this.blocks[ blockIndex ].selector, type );
+				}
+			);
+		}
+	}
+};
diff --git src/js/bp-friends/js/blocks/.babelrc src/js/bp-friends/js/blocks/.babelrc
new file mode 100644
index 000000000..c4ff60626
--- /dev/null
+++ src/js/bp-friends/js/blocks/.babelrc
@@ -0,0 +1,3 @@
+{
+	"presets": ["@wordpress/default"]
+}
diff --git src/js/bp-friends/js/blocks/friends.js src/js/bp-friends/js/blocks/friends.js
new file mode 100644
index 000000000..d735f14cb
--- /dev/null
+++ src/js/bp-friends/js/blocks/friends.js
@@ -0,0 +1,48 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	blocks: {
+		registerBlockType,
+	},
+	i18n: {
+		__,
+	},
+} = wp;
+
+/**
+ * Internal dependencies.
+ */
+import editDynamicFriendsBlock from './friends/edit';
+import transforms from './friends/transforms';
+
+registerBlockType( 'bp/friends', {
+	title: __( 'Friends List', 'buddypress' ),
+	description: __( 'A dynamic list of recently active, popular, and newest friends of the post author (when used into a page or post) or of the displayed member (when used in a widgetized area). If author/member data is not available the block is not displayed.', 'buddypress' ),
+	icon: {
+		background: '#fff',
+		foreground: '#d84800',
+		src: 'buddicons-friends',
+	},
+	category: 'buddypress',
+	attributes: {
+		maxFriends: {
+			type: 'number',
+			default: 5
+		},
+		friendDefault: {
+			type: 'string',
+			default: 'active',
+		},
+		linkTitle: {
+			type: 'boolean',
+			default: false,
+		},
+		postId: {
+			type: 'number',
+			default: 0,
+		},
+	},
+	edit: editDynamicFriendsBlock,
+	transforms: transforms,
+} );
diff --git src/js/bp-friends/js/blocks/friends/constants.js src/js/bp-friends/js/blocks/friends/constants.js
new file mode 100644
index 000000000..ff4f3dcb6
--- /dev/null
+++ src/js/bp-friends/js/blocks/friends/constants.js
@@ -0,0 +1,28 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	i18n: {
+		__,
+	},
+} = wp;
+
+/**
+ * Friends ordering types.
+ *
+ * @type {Array}
+ */
+export const TYPES = [
+	{
+		label: __( 'Newest', 'buddypress' ),
+		value: 'newest',
+	},
+	{
+		label: __( 'Active', 'buddypress' ),
+		value: 'active',
+	},
+	{
+		label: __( 'Popular', 'buddypress' ),
+		value: 'popular',
+	},
+];
diff --git src/js/bp-friends/js/blocks/friends/edit.js src/js/bp-friends/js/blocks/friends/edit.js
new file mode 100644
index 000000000..a5928e51b
--- /dev/null
+++ src/js/bp-friends/js/blocks/friends/edit.js
@@ -0,0 +1,87 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	blockEditor: {
+		InspectorControls,
+	},
+	components: {
+		Disabled,
+		PanelBody,
+		RangeControl,
+		SelectControl,
+		ToggleControl,
+	},
+	element: {
+		Fragment,
+		createElement,
+	},
+	i18n: {
+		__,
+	},
+} = wp;
+
+/**
+ * BuddyPress dependencies.
+ */
+const {
+	blockComponents: {
+		ServerSideRender,
+	},
+	blockData: {
+		currentPostId,
+	}
+} = bp;
+
+/**
+ * Internal dependencies.
+ */
+import { TYPES } from './constants';
+
+const editDynamicFriendsBlock = ( { attributes, setAttributes } ) => {
+	const { postId, maxFriends, friendDefault, linkTitle } = attributes;
+	const post = currentPostId();
+
+	if ( ! postId && post ) {
+		setAttributes( { postId: post } );
+	}
+
+	return (
+		<Fragment>
+			<InspectorControls>
+				<PanelBody title={ __( 'Settings', 'buddypress' ) } initialOpen={ true }>
+					<RangeControl
+						label={ __( 'Max friends to show', 'buddypress' ) }
+						value={ maxFriends }
+						onChange={ ( value ) =>
+							setAttributes( { maxFriends: value } )
+						}
+						min={ 1 }
+						max={ 10 }
+						required
+					/>
+					<SelectControl
+						label={ __( 'Default members to show', 'buddypress' ) }
+						value={ friendDefault }
+						options={ TYPES }
+						onChange={ ( option ) => {
+							setAttributes( { friendDefault: option } );
+						} }
+					/>
+					<ToggleControl
+						label={ __( 'Link block title to Member\'s profile friends page', 'buddypress' ) }
+						checked={ !! linkTitle }
+						onChange={ () => {
+							setAttributes( { linkTitle: ! linkTitle } );
+						} }
+					/>
+				</PanelBody>
+			</InspectorControls>
+			<Disabled>
+				<ServerSideRender block="bp/friends" attributes={ attributes } />
+			</Disabled>
+		</Fragment>
+	);
+};
+
+export default editDynamicFriendsBlock;
diff --git src/js/bp-friends/js/blocks/friends/transforms.js src/js/bp-friends/js/blocks/friends/transforms.js
new file mode 100644
index 000000000..7788e77b4
--- /dev/null
+++ src/js/bp-friends/js/blocks/friends/transforms.js
@@ -0,0 +1,38 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	blocks: {
+		createBlock,
+	},
+} = wp;
+
+/**
+ * Transforms Legacy Widget to Friends Block.
+ *
+ * @type {Object}
+ */
+const transforms = {
+	from: [
+		{
+			type: 'block',
+			blocks: [ 'core/legacy-widget' ],
+			isMatch: ( { idBase, instance } ) => {
+				if ( ! instance?.raw ) {
+					return false;
+				}
+
+				return idBase === 'bp_core_friends_widget';
+			},
+			transform: ( { instance } ) => {
+				return createBlock( 'bp/friends', {
+					maxFriends: instance.raw.max_friends,
+					friendDefault: instance.raw.friend_default,
+					linkTitle: instance.raw.link_title,
+				} );
+			},
+		},
+	],
+};
+
+export default transforms;
diff --git src/js/bp-friends/js/friends.js src/js/bp-friends/js/friends.js
new file mode 100644
index 000000000..bbb48948d
--- /dev/null
+++ src/js/bp-friends/js/friends.js
@@ -0,0 +1,97 @@
+/**
+ * WordPress dependencies.
+ */
+const {
+	i18n: {
+		__,
+		sprintf,
+	},
+} = wp;
+
+/**
+ * BuddyPress dependencies.
+ */
+const {
+	dynamicWidgetBlock,
+} = bp;
+
+/**
+ * Front-end Friends block class.
+ */
+class bpFriendsWidgetBlock extends dynamicWidgetBlock {
+	loop( friends = [], container = '', type = 'active' ) {
+		const tmpl = super.useTemplate( 'bp-friends-item' );
+		const selector = document.querySelector( '#' + container );
+		let output = '';
+
+		if ( friends && friends.length ) {
+			friends.forEach( ( friend ) => {
+				if ( 'active' === type && friend.last_activity ) {
+					/* translators: %s: a human time diff. */
+					friend.extra = sprintf( __( 'Active %s', 'buddypress' ), friend.last_activity.timediff );
+				} else if ( 'popular' === type && friend.total_friend_count ) {
+					const friendsCount = parseInt( friend.total_friend_count, 10 );
+
+					if ( 0 === friendsCount ) {
+						friend.extra = __( 'No friends', 'buddypress' );
+					} else if ( 1 === friendsCount ) {
+						friend.extra = __( '1 friend', 'buddypress' );
+					} else {
+						/* translators: %s: total friend count (more than 1). */
+						friend.extra = sprintf( __( '%s friends', 'buddypress' ), friend.total_friend_count );
+					}
+				} else if ( 'newest' === type && friend.registered_since ) {
+					/* translators: %s is time elapsed since the registration date happened */
+					friend.extra = sprintf( __( 'Registered %s', 'buddypress' ), friend.registered_since );
+				}
+
+				/* translators: %s: member name */
+				friend.avatar_alt = sprintf( __( 'Profile picture of %s', 'buddypress' ), friend.name );
+
+				output += tmpl( friend );
+			} );
+		} else {
+			output = '<div class="widget-error">' + __( 'Sorry, no members were found.', 'buddypress' ) + '</div>';
+		}
+
+		selector.innerHTML = output;
+	}
+
+	start() {
+		this.blocks.forEach( ( block, i ) => {
+			const { selector } = block;
+			const { type } = block.query_args;
+			const list = document.querySelector( '#' + selector ).closest( '.bp-dynamic-block-container' );
+
+			// Get default Block's type friends.
+			super.getItems( type, i );
+
+			// Listen to Block's Nav item clics
+			list.querySelectorAll( '.item-options a' ).forEach( ( navItem ) => {
+				navItem.addEventListener( 'click', ( event ) => {
+					event.preventDefault();
+
+					// Changes the displayed filter.
+					event.target.closest( '.item-options' ).querySelector( '.selected' ).classList.remove( 'selected' );
+					event.target.classList.add( 'selected' );
+
+					const newType = event.target.getAttribute( 'data-bp-sort' );
+
+					if ( newType !== this.blocks[ i ].query_args.type ) {
+						super.getItems( newType, i );
+					}
+				} );
+			} );
+		} );
+	}
+}
+
+const settings = window.bpFriendsSettings || {};
+const blocks = window.bpFriendsBlocks || {};
+const bpFriends = new bpFriendsWidgetBlock( settings, blocks );
+
+if ( 'loading' === document.readyState ) {
+	document.addEventListener( 'DOMContentLoaded', bpFriends.start() );
+} else {
+	bpFriends.start();
+}
