Here are several Hometalk projects using barn doors, I love the way they look.
Here's an idea to make a sliding barn door: https://www.thisoldhouse.com/how-to/how-to-build-sliding-barn-door
Here is how we did it: https://thehoneycombhome.com/how-to-build-a-sliding-barn-door-for-less/
When planning a barn door. make sure there are no light switches or hvac vents in the way. Also outlets where the door will slide won't be useable.