In the Figmaster - Lessons Figma file, open the 3.9 Badge page.
Step 1. Page
- Paste the Accordion page on the canvas.
- Change the name of the frame and header title to Badge.
- Readjust Menu items states.
- Link to 2.2 Badge page in the Header's button.
Step 2. Wrapper
- Delete the Accordion Group component in the Wrapper group.
- Open the Assets panel and find Badge.
- Drop it in the Wrapper group.
- Select the Component Wrapper group.
- Group it and apply auto layout.
- Rename it to the Component States.
- In the auto layout panel:
- Direction: Horizontal.
- Spacing between items: 16 px.
- Select the Component Wrapper group inside.
- Change its Resizing (width) property to Fill container.
- Duplicate it, so there are five items in total.
Step 3. States
- Change Label text in the first item on the left to Primary.
- Change Label text in the second item to Danger.
- Select the Badge component under and change its Status to Danger.
- Repeat the action for Info, Success, and Warning items.
Great work! Copy the entire Badge page, and let's practice more in the next chapter.