<p>When you create a matrix block type it pre-populates it with a blank field. If you delete this blank field and click save you can have a block with no fields.</p>

CC BY-SA 4.0
2020-11-14T00:39:00.230Z
2020-11-14T00:39:00.230Z
patrick.altair
<p>I tend to design my matrix block at a slightly higher level. I would have a text block with the rich text editor that allows you to enter a <code>&lt;hr/&gt;</code> tag. You can obviously also use this for all other text on the page, no need for multiple text style blocks.</p>

<p>You would add new block types for rich media components like galleries, videos, widgets, etc.</p>

<p>I know this is not exactly what you are looking for, maybe someone else will have an approach that works for your scenario. </p>

CC BY-SA 4.0
2018-06-01T15:16:37.117Z
I'm with you on the higher level blocks... using <hr> was just an example for the sake of simplicity. The blocks I actually need this for are much more complex. For example, I have a 'Projects' block that if selected would render a grid of cards of all the project entries on the site.
Joe B
CC BY-SA 4.0
2018-06-02T15:19:59.267Z
Ah I think it's great to use an entries field in that block, then the user is able to set the order of the projects themselves. You could also maybe make a custom field type in a plugin and attach that, potentially preventing the blank matrix block.
Clark Nelson
CC BY-SA 4.0
2018-06-04T17:08:10.043Z
We have used entries fields in for some of our blocks, which works nicely, but in this case we do not want the user to have any control over order. I'm thinking the easiest way might be to simply hide the matrix field and using css. Not an ideal solution, though.
Joe B
CC BY-SA 4.0
2019-06-04T14:36:43.873Z
This would be a nice addition, to control content blocks yourself without the requirement of some user input.
Sebastián.
CC BY-SA 4.0
2018-05-31T20:53:36.213Z
2018-05-31T20:53:36.213Z
Clark Nelson
<p>I've achieved this using this plugin.</p>
<p>It might sound like overkill to use a plugin for something so simple, but I've found this &quot;Entry Instructions&quot; fieldtype to be very handy in a lot of different places too.  It supports markdown and css styling, and stands out a bit more than the default instructions.</p>
<p><a href="https://plugins.craftcms.com/entry-instructions" rel="nofollow noreferrer">https://plugins.craftcms.com/entry-instructions</a></p>
<p><a href="https://i.sstatic.net/dqytC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dqytC.png" alt="Horizontal rule matrix content builder" /></a></p>

CC BY-SA 4.0
2020-11-15T04:40:15.883Z
2020-11-15T04:40:15.883Z
Nick
<p>Is it possible to create a matrix block with no fields? I'm using matrix as a page builder and have several scenarios where certain matrix blocks simply act as true/false checks.</p>

<p>As an example, my <em>Horizontal Rule block</em> simply adds an '&lt; hr >' tag to the page. No fieldtype is needed for this block.</p>

<p>I can add a dummy text field to the block that does nothing, but this is not too elegant. Any ideas?</p>

CC BY-SA 4.0
2018-05-31T22:00:54.027Z
Yes you can create a matrix block with no fields. You can delete the existing field and save it. I don't see any problem
Robin Schambach
CC BY-SA 4.0
2019-06-04T14:34:42.230Z
No you can´t, it´s required.
Sebastián.
CC BY-SA 4.0
2020-01-30T22:53:13.530Z
Too bad this seems not to be possible. There are use cases for sure.
Alex Kendrick
CC BY-SA 4.0
2020-05-28T21:41:01.613Z
We've added an optional background-color field. You might get some mileage out of field level permissions.
ponies
<matrix>
Create matrix block with no fields
# Create matrix block with no fields

(Asked by: username_0 on 2018-05-31)

Is it possible to create a matrix block with no fields? I'm using matrix as a page builder and have several scenarios where certain matrix blocks simply act as true/false checks.

As an example, my *Horizontal Rule block* simply adds an '< hr >' tag to the page. No fieldtype is needed for this block.

I can add a dummy text field to the block that does nothing, but this is not too elegant. Any ideas?

**Tags:** matrix
> **Comments:**
> **username_1**: Yes you can create a matrix block with no fields. You can delete the existing field and save it. I don't see any problem  
> **username_2**: No you can´t, it´s required.  
> **username_3**: Too bad this seems not to be possible. There are use cases for sure.  
> **username_4**: We've added an optional background-color field. You might get some mileage out of field level permissions.  

---

## 3 answers

### Answer by username_5 on 2020-11-14. Score: 2

When you create a matrix block type it pre-populates it with a blank field. If you delete this blank field and click save you can have a block with no fields.


---

### Answer by username_6 on 2018-05-31. Score: 1

I tend to design my matrix block at a slightly higher level. I would have a text block with the rich text editor that allows you to enter a `---` tag. You can obviously also use this for all other text on the page, no need for multiple text style blocks.

You would add new block types for rich media components like galleries, videos, widgets, etc.

I know this is not exactly what you are looking for, maybe someone else will have an approach that works for your scenario.

> **Comments:**
> **username_0**: I'm with you on the higher level blocks... using <hr> was just an example for the sake of simplicity. The blocks I actually need this for are much more complex. For example, I have a 'Projects' block that if selected would render a grid of cards of all the project entries on the site.  
> **username_6**: Ah I think it's great to use an entries field in that block, then the user is able to set the order of the projects themselves. You could also maybe make a custom field type in a plugin and attach that, potentially preventing the blank matrix block.  
> **username_0**: We have used entries fields in for some of our blocks, which works nicely, but in this case we do not want the user to have any control over order. I'm thinking the easiest way might be to simply hide the matrix field and using css. Not an ideal solution, though.  
> **username_2**: This would be a nice addition, to control content blocks yourself without the requirement of some user input.  

---

### Answer by username_7 on 2020-11-15. Score: 1

I've achieved this using this plugin.

It might sound like overkill to use a plugin for something so simple, but I've found this "Entry Instructions" fieldtype to be very handy in a lot of different places too. It supports markdown and css styling, and stands out a bit more than the default instructions.

<https://plugins.craftcms.com/entry-instructions>

[![Horizontal rule matrix content builder](https://i.sstatic.net/dqytC.png)](https://i.sstatic.net/dqytC.png)


---

