In the Figmaster - Lessons Figma file, open the 4.1 Sign Up page.
Introduction
In this chapter, you will learn how to use the components and styles we created to design a simple sign up page. We'll use auto layout for the entire page so it will stretch accordingly while the page width will be resized. You'll also learn how to work with background images.
Step 1. Page
- Open the frame tool (F).
- Create a frame with Macbook Pro size, 1440x900 px (Desktop > Mackbook Pro - in the Frame panel on the right).
- Rename the frame to Sign Up.
- Set the page's Fill to Neutral/10.
Step 2. Image Background
Part 1. Background
- In the Image Background frame I've prepared for you, select the Image layer inside.
- In the Fill panel, click on a plus icon to add fill. The linear gradient will appear above the Image in the Fill panel.
- Click to open the Linear gradient settings.
- In the top right corner of the Linear gradient settings, click on the Linear dropdown.
- Select Solid and close the color settings.
- Change the color to #000000 65%.
Part 2. Logo
- Select the Figmaster DS logo instance I've prepared for you.
- Move it inside the Image Background frame.
- Press ALT + H to align it horizontally.
- Press ALT + V to align it vertically.
- Having the logo selected, in the Constraints panel on the right, set width and height property to Center - Center.
Part 3. Adding it to the page
- Move the Image Background frame to the Sign Up frame on the right.
- Press ALT + A to align it to the right.
- Press ALT + V to align it vertically.
Step 3. Form
Part 1. Title
- On the canvas, create a text layer with Welcome to Figmaster text inside.
- Set its text style to Heading/M.
- Set its color to Neutral/100.
- Press CTRL + ALT + T to align the text to the center.
- Duplicate the text layer 16 px to the bottom.
- Change the text to Register your account.
- Change the new copy's text style to Text L/Medium.
- Change its color to Neutral/90.
- Select both text layers and group them (SHIFT + A).
- Rename the group to Title.
- In the auto layout settings, set the alignment to Top - Center.
- Press Enter to select the text layers inside.
- Change their Resizing (width) property to Fill container.
Part 2. Inputs
- Grab the Input component from the Assets panel and drop it on the canvas 32 px below the Title group.
- CTRL + click on the Input helper text inside the Input instance.
- Press CTRL + SHIFT + H to hide the layer.
- Select the Input instance and duplicate it 16 px to the bottom two times, so there are three Inputs in total.
- In the first Input at the top, change its label to Full name and Placeholder to John Doe.
- In the second Input, label to Email and placeholder to john@doe.com.
- In the third Input, change the label and placeholder to Password.
- Select all inputs and group them with auto layout (SHIFT + A).
- Rename the group to Inputs.
- Press Enter to select all Inputs inside.
- Set their Resizing (width) to Fill container.
Part 3. Buttons
- Grab the Button component from the Assets panel and drop it on the canvas 24 px below Inputs group.
- Duplicate it 32 px to the bottom.
- Grab the Dropdown Menu Separator from the Assets panel and drop it between buttons.
- Select both Buttons and a Separator.
- Group them with Auto Layout (SHIFT + A).
- Rename the group to Buttons.
- Press Enter to select all elements inside.
- Set their Resizing (width) property to Fill container.
- Resize the group to 248 px in width.
- Change the top button's text to Create Account.
- Select the second button and change its instance properties:
- Content to Icon Text.
- Type to Outlined.
- Change its text to Continue with Google.
- Change its icon to Icon / GoogleLogo.
Part 4. Log in text
- Create a text layer 32 px below the Buttons group with Already have an account? Log in text inside.
- Apply the following properties to the text layer:
- Text style to Text M/Medium.
- Text align to Center.
- Already have an account? text color to Neutral/90.
- Log in text color to Primary/Main.
Part 5. Grouping it all together
- Select Title, Inputs, Buttons and the text layer.
- Group it by applying auto layout SHIFT + A.
- Rename the group to Form.
- Press Enter to select all elements inside.
- Set their Resizing (width) property to Fill container.
- Resize the Form group to 320 px in width.
Step 4. Finishing touches
Part 1. Wrapper
- Select the Form group and group it.
- Apply the auto layout.
- Rename the group to Wrapper.
- In the auto layout settings, change the alignment to Center - Center.
Part 2. Adding it to a page
- Move the Wrapper group inside the Sign Up page on the right.
- Press ALT + V to align it vertically.
- Resize the Wrapper group to cover the entire white space on the right.
- Select the Sign Up page and add an auto layout.
- Press Enter to select both elements inside.
- Set their Resizing properties to both Fill container.
- Resize the page's height to be 900 px again.
Great job! Now you can test the layout and resize the page in width and height. You can also select the Image background group and press Arrow Right to switch its places with the Wrapper group if you prefer to have the form on your left. You can also enable the helper text for the Password input to see that the form will stay in the center of the Wrapper without resizing the page.
Do you see how now nice and responsive it is?
Let's practice it in the next lesson.