// use quotes to specify string literals as attributes: const thing = <div tabIndex="0"></div>; // or use curly braces to embed JS expression in attribute: const thing = <img src={user.profilePic}></img>;