www.ikea.com/us/en/images...
Incidentally if your matttresses are too tall, they will not stack neatly, and you’ll need to make spacers. If your mattresses are above 8” it’s less ideal without spacers. They also have trundle beds which work similarly.