I copied the dependencies mentioned in the website here:
CodePudding user response:
Navigation Compose was introduced after Navigation 2.3 - you need to use Navigation 2.4 (latest at this time is 2.4.0-rc01):
implementation "androidx.navigation:navigation-compose:2.4.0-rc01"