The future of Popper is here! Floating UI is now available. Get it now!
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!

Phase

write

Options

This modifier currently has no options.

Data

This modifier currently has no data.

Edit this page
Compute Styles
© 2024 MIT License