As I understand WickedPDF is exactly what you are looking for. You build your classic HTML view with all the things you need (images, links, text, styling) and Wicked builds a PDF from it. Have a look at their homepage. https://wkhtmltopdf.org/
My research led me to Angular / Angular UI, but I think that this variant is too overpowered, just like React and Node.js.
Which framework do you use or can you recommend for Rails 6?
I hope you can help me...good coding...Chris-P-Chicken