Short answer: Place an acrylic shelf where children cannot climb or pull from it, and keep it away from bath water or direct splashes where practical. Use suitable wall fixings and check the load rating on the product page.
Safer placement and care
In a kids room, choose a low-risk position with clear floor area below. Avoid sharp-edged displays, unstable ornaments and easy-to-reach loads. A responsible adult should review the shelf rather than treating it as a climbing surface.
In a bathroom, allow good ventilation and avoid standing water or harsh cleaners. Keep soaps and bottles stable, and place heavier items near the wall. Condensation can make surfaces slippery, so dry the shelf when needed.
Inspect screws and supports from time to time. Do not place a hot styling tool or hot pan against acrylic. If the wall or shelf moves, remove the contents and arrange a proper check before reuse.