Skip to main content

Add Action Buttons

What You’ll Do

Add some placeholder action buttons to the page header

Step 1: Add Action Buttons

Again we will modify the Page Header component. Add the following code between the <!-- ACTION BUTTONS -->comments:

<!-- ACTION BUTTONS --> <div class="slds-col slds-no-flex slds-grid slds-align-top"> <div class="slds-button-group" role="group"> <button class="slds-button slds-button_neutral"> Add Contact </button> <button class="slds-button slds-button_neutral"> More </button> </div> </div> <!-- / ACTION BUTTONS -->

These buttons don’t do anything when clicked, but you can easily add that functionality later.

Step 2: Preview

Save your page, and click the Preview button.

Resources

The Design System site has more documentation and examples.

계속해서 무료로 학습하세요!
계속 진행하려면 계정을 가입하세요.
얻을 수 있는 이점
  • 커리어 목표에 대한 개인화된 권장 사항 제공받기
  • 실습 과제 및 퀴즈를 통해 스킬 연습
  • 진행 상황을 추적하고 고용주에게 공유
  • 멘토십과 커리어 기회에 연결