のように details
like; the way — a comparison to something the speaker names
この店の中は、図書館のように静かだ。
kono mise no naka wa, toshokan no you ni shizuka da.
Inside this shop it is quiet, like the library. neutral
会場の場所は、下の図のようになっております。
kaijou no basho wa, shita no zu no you ni natte orimasu.
The location of the venue is as shown in the diagram below. formal
- adnominal
Examples
like — the manner or degree of something is described by naming something else it resembles
この店の中は、図書館のように静かだ。
kono mise no naka wa, toshokan no you ni shizuka da.
Inside this shop it is quiet, like the library. neutral
今日は春のように暖かいですね。
kyou wa haru no you ni atatakai desu ne.
It's as warm as spring today, isn't it. neutral
あの子、まるで大人のように話すんだよ。
ano ko, marude otona no you ni hanasu n da yo.
That kid talks just like an adult, you know. casual
姉は母のように料理が上手です。
ane wa haha no you ni ryouri ga jouzu desu.
My sister is a good cook, like my mother. neutral
昨日は夢のような一日でした。
kinou wa yume no you na ichinichi deshita.
Yesterday was a day like a dream. neutral
as shown; as stated — the sentence conforms to something already named or displayed
会場の場所は、下の図のようになっております。
kaijou no basho wa, shita no zu no you ni natte orimasu.
The location of the venue is as shown in the diagram below. formal
Formation
{N}のようにattaches to noun
Variant notes
- のような — sits straight before the noun it colours — 夢のような一日, 氷のような手.
Notes
まるで子どものように喜んだ concedes the person is no child.
Related patterns
Similar
みたいに takes the noun bare where のように needs の — 春みたいに, ×春のみたいに — and the register follows the same split, みたいに being the spoken shape and のように the written and formal-spoken one.
と同じ claims the two things match on a stated point (兄と同じ大学), while のように only borrows a likeness for the sentence at hand — 兄のように勉強する says nothing about which university.
とおりに demands exact conformity to something already said or shown (書いてあるとおりに), so a mismatch is a failure; のように asks for resemblance only in its comparison sense, and falls in beside とおりに just for the citation use (下の図のように).
Lookalikes
Identical ように, two jobs — 聞こえるように話す names the goal the speaking aims at, 子どものように話す names what the speaking resembles; a noun host before の makes it the comparison, a clause host makes it the goal.
The same よう one gear apart — 病気のようだ closes the sentence as the speaker's inference ("he seems ill"), while 病気のように modifies what follows as a comparison ("as an illness does"), so ようだ can end a sentence and のように never can.