We've always used lee cloths, canvas
, and can be extended up quite high, using shade cloth mesh, so you can look in on the child, and he/she look out at you. Sometimes, the whole forepeak is dedicated to the "crib"... or an aft berth. Depends on boat
size, really, and how much time you envision the child spending there.