<p>I was able to pull this off by referencing <strong>MatrixInput.js</strong> and <strong>/_components/fieldtypes/Matrix/input.html</strong>.</p>

<p><a href="https://i.sstatic.net/iveQ7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iveQ7.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2016-09-26T05:04:14.020Z
2016-09-26T05:04:14.020Z
Anya Dit
<p>Here's a sample of a matrix block:
<a href="https://i.sstatic.net/i5BAg.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/i5BAg.jpg" alt="enter image description here"></a></p>

<p>I would like to have my own fields inside the block and retain the basic functionalities like Collapse, Disable, etc. Basically, just use the Matrix block UI without using the Matrix field.</p>

<p>Is this possible?</p>

<plugin-development><matrix><control-panel>
How can my plugin render a generic Matrix block in the Control Panel?
# How can my plugin render a generic Matrix block in the Control Panel?

(Asked by: username_0 on 2016-09-24)

Here's a sample of a matrix block:
[![enter image description here](https://i.sstatic.net/i5BAg.jpg)](https://i.sstatic.net/i5BAg.jpg)

I would like to have my own fields inside the block and retain the basic functionalities like Collapse, Disable, etc. Basically, just use the Matrix block UI without using the Matrix field.

Is this possible?

**Tags:** plugin-development, matrix, control-panel


---

## 1 answers

### Answer by username_0 on 2016-09-26. Score: 3

I was able to pull this off by referencing **MatrixInput.js** and **/\_components/fieldtypes/Matrix/input.html**.

[![enter image description here](https://i.sstatic.net/iveQ7.png)](https://i.sstatic.net/iveQ7.png)


---

