Popper Logo
Popper Logo

Apply Styles

The applyStyles modifier writes the styles in state.styles and state.attributes to the popper element.

If you're using a library like React, you may want to implement your own applyStyles modifier fn to delegate DOM writes to it.

Don't mind tech-related ads? Consider disabling your ad-blocker to help us!
They are small and unobtrusive.
Alternatively, support us on Open Collective!




This modifier currently has no options.


This modifier currently has no data.

Edit this page
Compute Styles
© 2021 MIT License