classname javascript react code example Example: react classname render() { return <span className="menu navigation-menu">Menu</span> }