Skip to content

Enable further style customizations #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
owain-stratton opened this issue May 21, 2025 · 2 comments
Open

Enable further style customizations #25

owain-stratton opened this issue May 21, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@owain-stratton
Copy link

We're using MUI as our component library in the application where we are using the pdf-viewer. So far we have been able to customize much of the styles to align with the application, however, there are two aspects that we would like to customize.

  1. Support setting a border radius around icons/buttons separately. Currently customizing the border radius variable --rp-border-radius to match the MUI theme affects the icon buttons as well as; zoom level select, page number select, dialogs and tooltips. See screenshot

Image

  1. Allow customizing the tooltips to either take a custom component or alternatively provide a way to change the styles such as font size, padding, border radius and positional arrow.

Image
Image

@david-reactpdf david-reactpdf added the enhancement New feature or request label May 24, 2025
@david-reactpdf
Copy link
Contributor

Hi @owain-stratton,

Thanks for the detailed feedback and screenshot.

We’re looking into both of these enhancement requests and will follow up here once we’ve released an update that addresses them.

Appreciate you raising this and helping us improve React PDF!

@owain-stratton
Copy link
Author

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants