ข้าง/ด้าน ใน/นอก/หน้า/หลัง/บน/ล่าง
the inside / outside / front / back …: a side, as a noun
ข้าง or ด้าน makes the preposition a place of its own: อยู่ข้างใน 'it's inside'; ใน alone needs its noun (ในบ้าน)
ตอนนี้แม่นอนอยู่ข้างบนนะ
Mom is sleeping upstairs right now.
In the library
No story in the library uses this pattern yet.
Thai learner pattern table, release patterns-v13, by ThaiReader · All patterns