New Block additions for the Block Library
Creating this tracking issue to gather together several blocks that have been proposed over the years for inclusion in core that have been sitting in limbo due to technical blockers or worries about their relevance.
As mentioned in another thread, I think we need to become a lot more practical about these:
I think not having these blocks in the core library severely limits the expressiveness that theme builders (and users) can depend upon to build great designs and it can fracture the overall experience, forcing people to go for more fully equipped block libraries instead or desist altogether if they plan to release something broadly. One of the promises of blocks is that we can finally make themes interoperable without dulling down expression. A separate plugin for these blocks won't help much if a person needs to release a theme or a pattern in the directory, cannot rely on the presence of the block, or is excluded because it doesn't use core blocks.
My opinion is that we should add a lot more blocks and revise a stance that I think harms adoption in this day and age.
It has also been the case that several plugins, whose main purpose is not really about offering design tools, have had to resort to building their own block primitives for things like slideshows, accordions, and so on if they needed to offer patterns to its users. This isn't great for the ecosystem and long term leanness of the platform.
We should also consider making further improvements to the block library manager, so that the default set of blocks can be more easily managed programmatically by site owners, in blueprints, in other WP config, and in a more permanent place in the interface like a "blocks" screen under plugins.
- [ ] Slider / Carousel Block — #43369
- [ ] Mega Menus — #23745
- [ ] Marquee Block — #41730
- [ ] Table of Contents — #42229
- [ ] Dialog Block #61297
- [x] Icons Block — #16484
- [x] Playlist Block — #805
- [x] Time to Read Block — #53776
- [x] Breadcrumbs Block — #21943
- [x] Terms Query Block #70720
- [x] Accordion Block #21584
- [x] Tabs Block — #34079
- [x] MathML Block — #47198
- [x] Stretchy Text — #71904
(This list doesn't imply these blocks are ready, we should continue the conversation on each so that we produce the best versions.)
there are some other nice inputs there
- https://github.com/WordPress/gutenberg/issues/63501 (mostly design wise, example theme style toggle for dark/bright mode, or shape dividers)
- https://github.com/WordPress/gutenberg/issues/58773
Shipping too many blocks by default is going to confuse rather than help users. I think this aligns with the WordPress Philosophies. That said, I do think that we should work to make more things possible.
Building off what I originally posted on #58773, I think that blocks should all live in this repo and have the following states:
Experimental Block - Very low overhead to enter this stage. Blocks are not given any special treatment in the wordpress.org directory or in WordPress core. Canonical Block - This is when something is considered supported by core. Needs to meet certain guidelines (such as the current WCAG standards). Given prominence in core and the block directory. Ships in core - There is evidence to suggest the majority of users will benefit from this block.
Additionally, themes should be able to specify any canonical block and if that block is not installed already, it should be installed before a theme can be activated (similiar to the way plugin dependencies work).
Additionally, themes should be able to specify any canonical block and if that block is not installed already, it should be installed before a theme can be activated (similiar to the way plugin dependencies work).
This would be huge, especially if we're leaning into more canonical plugins as a means of core adoption. For something like the proposed icon block, we'd love to be able to ship patterns that use that icon, but right now it would show a broken block error. But if we were able to install that plugin beforehand, we could really improve the user experience.
Sharing my comment from https://github.com/WordPress/gutenberg/pull/71017#issuecomment-3146260168 for visibility.
Cons of niche blocks in Core
- How are we measuring their usefulness? I've not seen any requests for similar blocks, and "it's been used on many sites" is a very vague reason.
- We won't be able to remove these blocks. We can deprecate them, but they have to remain functional.
- Bundle size - while it's easy to increase bundle size in this scenario, it's almost impossible to remove that code.
Pros of canonical blocks in the directory
- Actual statistics or something close to it. A 10K install could be a good indicator of a block's usefulness.
- Plugins can be deprecated and even delisted from the directory.
- Doesn't affect core bundle size. Plugins can be installed and activated as needed.
Most importantly, the project needs clear guidelines for adding new blocks in the core. Something all contributors can refer to when needed.
How might this work for folks that would be open to contributing their blocks to core (ex. Figma block, Apple Maps block)?
I'm pro this.
The real issue isn't that more blocks will confuse users—it's that users get confused when they search for expected functionality and can't find it, or get lost trying to figure out which third-party plugin to trust. Blocks are fundamentally different from typical plugin functionality. They're the literal building blocks of themes and patterns, so when a block isn't available out of the box, it breaks visual integrity or makes certain themes/patterns/designs impossible.
Most of what's on this list isn't niche—these are things people expect to find when they're building a modern website. We're not meeting those expectations, and that's the real problem.
From the accessibility perspective, I'm largely in favor of adding blocks, especially for common, popular design patterns like tabs and accordions. These are chronic problems for accessibility, in part because they're fairly trivial to build if you're not considering accessibility. There are dozens of these types of blocks available in the repository, and most of them are extremely inaccessible. For basic functionality like this, it would be vastly better for the ecosystem as a whole for there to be a core experience that's accessible by default.
I wouldn't say that automatically means we should add all of the blocks listed above; but I do think that by putting our efforts behind core blocks, we can greatly enhance the overall accessibility of the ecosystem.
Re: @richtabor's comment about "which 3rd party plugin to trust", I think that's a significant problem from the accessibility side. The amount of effort developers have to put into thoroughly testing these basic features before they can use them is too much; a core block, well built, would go a long way to solving these fundamental problems.
To add to the point of @Mamaduka:
As in the past, I’m very much in favor of the canonical plugin approach. WordPress benefits from a lean and focused core, while more opinionated or niche functionality can and should live in canonical plugins. Each new block introduced in core adds long-term maintenance obligations. Coming out of a resource crunch, we should be particularly mindful of the overhead we introduce.
From my point of view, we haven’t always been selective enough when it comes to core blocks. This is a great place to reapply the 80% rule: does this block have the potential to be used by a clear majority of users? An icon block? Absolutely. A marquee block? Maybe, as an Easter egg. A MathML block? Canonical plugin territory, in my opinion.
Also, speaking from an open-source and CMS-centric standpoint (which may differ from WP.com priorities): WordPress was never intended to be feature-complete out of the box. Users are expected to tailor their setup to fit their needs. If users don’t find expected functionality, that’s not necessarily a lack of features, it’s a question of discoverability and expectation management.
Finally, the discussion around accessibility and trust underscores the need for "official" plugins. Canonical plugins give us a path to offer trusted, well-reviewed, accessible features without inflating core.
Edit: I'm going to put this excerpt from the WordPress philosophy here for context.
The core of WordPress will always provide a solid array of basic features. It’s designed to be lean and fast and will always stay that way. We are constantly asked “when will X feature be built” or “why isn’t X plugin integrated into the core”. The rule of thumb is that the core should provide features that 80% or more of end users will actually appreciate and use. If the next version of WordPress comes with a feature that the majority of users immediately want to turn off, or think they’ll never use, then we’ve blown it. If we stick to the 80% principle then this should never happen.
Most of the blocks in the list are things I wish were in core already. Thus, my strong support for anyone willing to put in the effort to get them into core. Who decides what becomes a core block and what should be in a canonical plugin, or if it should be handled by a third-party, and by what metrics?
If the 80-20 rule were applied a long time ago, I think most of the blocks in core now would not be. They'd be in a plugin or something. I help maintain an FSE theme and want to stay as close to core as possible without creating custom blocks or plugin dependencies. Thus, my desire is to see most of these blocks get integrated into core.
I suppose WordPress core development could always go back to leaning on its philosophies, but in my opinion, most of those were thrown out the window or mostly ignored when Gutenberg development started, and has been that way for years.
Not to derail the conversation, but quoting WordPress' development philosophies when it is convenient to support a point of view or opinion these days is kind of lame. WordPress' core dev philosophies have drifted so far away from being enforced consistently with everything that enters core, I almost have to question why they still exist.
From a user's point of view, one of the biggest challenges is finding the right and reliable third-party plugin just to get a simple block like an icons or tabs. It’s time-consuming, often bloats the site, and sometimes plugins aren’t maintained or clash with others. Their styles also frequently overlap with those from other third-party plugins. Having these commonly used blocks in core would eliminate that hassle and bring more consistency to the editing experience.
There are many blocks which are worth considering in this list, like #59524 & https://github.com/WordPress/gutenberg/issues/49094.
Also, many of the proposed blocks aren’t just for one use case. They can serve different needs across different users. For example, the block in #59524 can be used in multiple contexts:
- Engagement & Feedback: Liking posts or reacting to content
- E-Commerce: Adding items to Wishlist (shopping sites)
- Content Curation: Save for later / Read Later (news or publishing platforms)
- Personal Organization: Bookmarking or saving favorite posts (blogs, forums, educational sites)
Also, as said here https://github.com/WordPress/gutenberg/issues/71068 the users use the social block in a different way than intended.
Let’s also explore the diverse use cases a block can unlock—not just rely on the 80/20 rule. Some blocks might not seem essential at first glance but have wide utility when considered across different industries, user types, and content needs.
I think it's necessary to clarify: The WordPress philosophy states:
…that the core should provide features that 80% or more of end users will actually appreciate and use.
It's about what the majority of users want. Not to be confused with the 80/20 rule, also known as Pareto principle (20% of effort leads to 80% results)
Considering the rating of Gutenberg in the plugin repo and several requests here in the Github repo, I also think that the majority of users expects and wants more blocks. Maybe not all of 80% or more of the users will use a marquee block, but they probably will not care if it exists. (And if they really want to turn if off immediately it is easily possible.)
Citing from the philosophy again:
"If the next version of WordPress comes with a feature that the majority of users immediately want to turn off, or think they’ll never use, then we’ve blown it. "
I'm in favor of adding the blocks.
It seems like the Table of Contents block is missing in that list, which is also still 'experimental'.
From a user perspective, I'd prefer to have these blocks included, even those that I'd probably never use. It is much easier to ignore something that you don't use (or prevent it from showing up in the inserter if it really bugs you), than to search for a trustworthy plugin that does what you need without adding loads of stuff that you don't need, and then continually to monitor it to check it hasn't been sold or deserted.
My concern with this is that we end up with overly complicated/niche one-off blocks that lack the flexibility of some smaller component blocks. We could end up with blocks with too narrow a use case and too rigid to be adapted to all how they could be used. I think about the Media & Text block, which is a block that might not be made today because we could make it easier to build out of existing blocks.
But I also get the need to solve some more common design patterns:
- Icon Block
- Accordions/Tabs
- Dialog
All seem like good candidates as they solve common patterns. They also have a straightforward enough structure in what's output to make choosing how to implement them flexible.
These do seem more specialized, but I get that they are standard components.
- Breadcrumbs
- Table of Contents
The rest seem to be specialized and should probably be a plugin or custom block settings to expand the functionality of existing blocks.
PLEASE implement these blocks and more! Native WordPress needs them!
I strongly agree with both @richtabor and @joedolson's comments.
The deeper question we need to ask about these blocks is: who is WordPress for? Are we building blogging software, or are we building software for creating websites?
Personal blogs don't need much more than basic blocks. They don't need tabs and only sometimes need accordions. But find me a professional website for an organization or business that does not have those components... you can't.
For the second year in a row, I have just completed a comprehensive comparison of 20 different page builders and block libraries, and I'm often asked why Gutenberg/core isn't included. It doesn't include Gutenberg because the blocks literally don't exist, and a professional website for a business cannot be built with WordPress core alone. Users have to turn to third-party block libraries and builders, many of which have horrendous accessibility.
If WordPress wants to stay competitive with SaaS website builders, it should be possible to build a nice-looking business website with modern components out of the box.
We won't be able to remove these blocks. We can deprecate them, but they have to remain functional. Bundle size - while it's easy to increase bundle size in this scenario, it's almost impossible to remove that code.
My biggest concern is the above. While it's easy to create a new block, once a block is added to the core, we can't delete it and are responsible for maintaining backward compatibility forever.
If we decide to introduce new blocks to Gutenberg in the future, I recomme that we introduce them as experimental blocks in the Gutenberg plugin, at least initially, to get more feedback before releasing them to core.
There's a setting for that, too.
P.S. I recently submitted a topic on backward compatibility policies for block development: https://github.com/WordPress/gutenberg/discussions/71228
I would love to see a Description List block in the list.
There a PR for that block : https://github.com/WordPress/gutenberg/pull/20760
patch for https://github.com/WordPress/gutenberg/pull/71314
@pbearne, I think there is no consensus whether we should ship that block to core. Let's continue the discussion in #53776.
I think it would be good to add more blocks, such as an accordion block, Table of Contents block or a mega menu block. It might also be useful (not only for agencies) to have the currently implemented blocks activated and at least most of the additional blocks mentioned above deactivated. In this case, however, administrators should have the option of easily reactivating the deactivated blocks. This would improve clarity. Of course, the problem remains that blocks that are rarely used still have to be maintained once they are in the core. BTW: In my opinion, a significantly improved navigation block would also be important.