Make a list with header and subtext in Gutenberg blocks

In general you have to do those things:

  • Define you attributes
  • Write a UI for the editor in the edit function, which saves values entered by the editor to your attributes
  • Render the html with the save function by using the values from your attributes

The tutorial from the official docs isn’t half bad:
https://wordpress.org/gutenberg/handbook/designers-developers/developers/tutorials/block-tutorial/writing-your-first-block-type/