<example :userId="{{ Auth::user()->id }}"></example> //for objects <example :userId="{{ json_encode(Auth::user()) }}"></example>