Potty training and toddler beds

Z

My daughter is just about 2.5 yrs and is mostly potty trained during the day, still working on pooping.

Me and my husband were discussing about when to switch her to a toddler bed and resources say it’s a good idea if you are potty training because they can go in the night. However I don’t want her up in the house alone at night? That sounds super dangerous to me. Would a potty in her room be a good idea? I worry she’ll stop using the big potty because we had never introduced her to a little potty before.