na-adjective
Describes something as being like that or in that manner, often used adjectivally or adverbially.
あの様なことは二度としません。
I will never do such a thing again.
彼はあの様に言った。
He said it like that.
こんな is used for things close to the speaker ('like this'), while あの様 refers to things distant from both speaker and listener ('like that').
そんな is used for things close to the listener ('like that'), while あの様 refers to things distant from both speaker and listener ('like that over there').
あんな is a more casual, colloquial equivalent of あの様, often used in spoken Japanese.
Compound of あの (that, distal demonstrative) + 様 (よう, appearance, manner). The kanji spellings are based on the meaning, but the word is usually written in kana.