We replaced our carpet with commercial quality carpet tiles. I don't remember the exact size so they're 19" - 20" square, which makes for easy installation (no big pieces to cut to fit). If a tile gets damaged (buy extra), they're easy to replace. We used double-sided carpet tape to install them and it's going strong after three-plus years. The hardest part of installation was removing all the staples from the old carpet.
Aside from easy installation, we like it because it's easy to keep clean with it's short nap, is still nice on bare feet, is sound absorbing but isn't susceptible to scratching like many of the hard surface materials. We have luxury vinyl planks at home and they're relatively soft and susceptible to scratching.
We were also concerned about scratching from our slides. We have a dog and there's always a risk of a piece of grit on a hard surface that can be a problem.
We got ours from S&G carpet. It's available in a wide range of colors and design and is reasonably priced.
2002 Itasca Suncruiser 35U