You need to let tailwind discover the additional widths. I remember I had the same issue and had to publish the config and view, and might have also added the config file to the tailwind monitored files.
Cant change wire-ui Modal Width in Laravel 8.83.23 And PHP 7.4.26
I created a brand new Laravel Project with Jetstream (Livewire without Teams). Then I proceed to include the Wire Elements Modal library through: composer -require wire-elements/modal-. Then I put all the references in the main view and proceed to create a Livewire new component named: "modal-test". I changed the extends from the component controller from "Component" to "ModalComponent" and put some button on the view to call the modal and it works well. The problem comes when I try to change the modal width from "2xl (the default one)" to "4xl" or something else (The options are 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl', '7xl'), but nothing changes. Even If I clean the views and cache and everything else, the modal size is still the same no matter how much elements I put in it.
Even If I publish the modal configuration file and changed the default "2xl" size to anything else, the modal is still the same. All the other options works perfectly, like "closeModalOnEscape()", "closeModalOnClickAway()", etc. The only problem is the width.
Please or to participate in this conversation.