Apple has a new feature in Apple Music called Collaborative Playlists. This feature lets you share a playlist you've created with friends and family so they can add songs to it, reorder it, and comment on songs shared in the playlist. You can share a collaborative playlist with anyone at any time, even after you've created it. People can be invited to view and edit the playlist via an invite link or QR code.
How to Create a Collaborative Playlist on Apple Music
Related: How to Create a Collaborative Playlist in Apple Music
You must already have a collaborative playlist in your Apple Music library to share a collaborative playlist. If you haven't created one yet, check out this guide to converting your playlist to a collaborative playlist.
Alternatively, you can share the QR code for your collaborative playlist by tapping the QR code button at the top. This will load a QR code on the screen that you can show to others when they join you, or you can take a screenshot of this screen and share it with someone you want to invite.