Styling React-PDF with Custom Fonts & Dynamic Page Styles

preview_player
Показать описание
Yo, In this video, we will dive into the world of React-PDF and how to style it with custom fonts and dynamic page styles. This is an amazing way to create dynamic PDFs in your React applications, providing a rich user experience.

Our journey will take us from the basics of React-PDF to applying custom fonts and, finally, to creating dynamically styled pages.

🔗 Useful Links:

If you find this video helpful, don't forget to hit that like button and subscribe for more content like this. Also, feel free to drop your questions or suggestions in the comments section below.

Happy Coding! 🚀

Please don't forget Like, Comment and Subscribe if you're new!
Рекомендации по теме
Комментарии
Автор

Thank you guys for these videos they are value

zanokuhlehita
Автор

Can you please help to set fixed header and footer for each page, please.

mansoorbashir
Автор

im rendering a booking receipt that sometime is really long how to break to new pages automatically?

mangkoeboemie
Автор

Attempted import error: 'create' is not exported from 'fontkit' (imported as 'fontkit').

niketnayan
Автор

You are a Legend Arslan, thank you so much! Problem solved! 🥳

unlimitedpower
Автор

Hey @Arslan I just started watching your videos and they are really good. I was wondering if you knew how to create an endpoint that receives some data from the client and generates a react PDF in memory, which can then be sent as an attachment to an email using nodemailer. I am having troubling finding out how to generate a PDF in memory and then send the attachment, nodemailer seems to need a path to a file when sending attachments. How would you go about this? Anything will help, and thanks for these videos, been really helpful.

athulgeorge
Автор

Nicely shown and explained. Good stuff as always - I dropped a like 👍

I know this may be off topic but have you ever used tRPC? I used it once but didn't get too deep into and the same goes for tailwindcss. I'd be interested in seeing you work your magic on one of those topics. But if you already got stuff in the pipeline then no worries. I always learn something new from you bro. Thanks 😎

johnchp
Автор

I tried this method but it is throwing module not found error

supriyadutta
Автор

How are you supposed to render on client side. I am using PDFViewer but it loads the window is way too small.

saikotpaul
Автор

Getting this error TypeError: is not a function

ranjanasharma
Автор

How can you rerender the PDFViewer whenever there are <Document/> changes?

ged
Автор

I want to show data in table but unable to do it can u suggest something how can i achive this

ashwinsolanki
Автор

Does it mean that the style that you apply to your components (display, colors, positions, etc.) will be the same on the PDF style ? Making it possible to "design" the PDF

LoïcGuégan-gm