As a combination of the 格助詞（かくじょし） (case marking particle) と, the 名詞（めいし） 同（おな）じ ‘the same’, and the 副助詞（ふくじょし） (adverbial particle) くらい. と同（おな）じくらい is an expression used to highlight that something is ‘about the same as (A)’.
To use と同（おな）じくらい, attach it to the end of a noun that you want to highlight as being the prime example, with whatever is comparable to it coming later in the sentence, or directly attached through the 格助詞（かくじょし） の.
His computer is as big as his printer.
Doctor, it hurts about the same as yesterday.
He can run at about the same speed as a car.
I want a puppy that is about the same size as the one I have now.
If you want to express that an action is being performed in ‘almost the same way’ as (A), に
may replace の, after くらい.
If the price is going to be about the same, I will buy the better one.
That lady looked about the same age as my mother, but when I asked her her, she was the same age as my grandma.