I've used Replit for educational materials when teaching beginners Python and JavaScript. They had a nice product called Teams for Education. It was even announced that it'll become fully free (the original blog post with the announcement was deleted from their website) [0], but soon after that the company had pivoted to AI and later discontinued the Teams for Education completely [1].
I also used Replit's embedded widgets for occasional lessons, but they kept changing the UI and behavior, making it difficult to write consistent reliable documentation for beginners.
I think by now it's clear that the product is not meant for educators, like it was originally, so that's ok.
[0]: https://web.archive.org/web/20240924020257/https://blog.repl...