Design+Code logo

Quick links

Suggested search

In this last part, we will design a beautiful date picker screen where the user can select dates.

01 Date Picker

Calendar Page

Let’s create a new page and name it: Calendar Screen. Similar to the other pages, disable the scrolling, set the Status Bar to Light and set the BG Color to #17182B.

Navigation

The top UI is the navigation so let’s add a Stack H: Navigation.

  • Set the Distribution to Space Between
  • Set the Height to Auto
  • Add a padding right of 16
  • In it, add a Back Button component and a Text “Cancel”, the Type is Headline and the color is white

02 Navigation

Info Container

Right after, we have the Info Container, add a Stack V: Info.

  • Set the Gap to 8PT, Height Auto
  • Add paddings (42, 0, 0, 16)
  • Add a Text “2-night stay”, the Type is Title 3 - Bold and the color is white
  • Add another Text “Mon, Oct 24 - Wed, Oct 26”, the Type is Subhead 1 and the color is System Gray

03

Calendar Container

Let’s add a Stack to contain our Data picker element. Name it: Calendar Container.

  • Set the Height to Auto, Width to 90%, alignment to Center and distribution to Start
  • Set the margins (128, 24, 24, 24)
  • Add Corner Radius to 20
  • Add Borders 1PT white at 10% and BG Blur Dark
  • Add Drop Shadow: Offset X 0PT, Offset Y 10PT, Blur 20 and Color Black at 30%

Date Picker

In the Container, add a Date Picker element. In Settings, you will see different Mode and Style. I recommend you to play with it and choose which one fits you the most. Set the Mode to Date and Style to Inline. Set the Tint to Blue. In Appearance, you can also set the UI Style, select Dark.

04

Background

To make the Calendar pop more, let’s add a background image. Add an Image, select the Blue Blob. Set the Height to 348PT, Pin To Center Center and Pin To Page.

05

Booking Button

To fill the bottom spacing, add a Booking Button from your component and change the text to Save.

06

Interactions

For the interactions, go to the Detail Screen, select the Rectangle Button and add a Tap trigger with Go To Page action. Select the Calendar Page with a Scale In animation from the Right at 0.5s Ease In & Out. Then, from the Calendar Page, select the Back Button, add a Tap trigger with Back to Page action.

For the Cancel and the Save Button, add a Tap trigger with Go to Page action. Select the Home Screen with a Scale In animation from the left with 0.5s Ease In & Out.

Conclusion

We just completed our fully functional prototype made with Play. Everything is working with nice interactions and animations. So this is the end of the course, I hope that you have learn just enough to create your own amazing prototype!

BACK TO

Navigation and Detail screen

Templates and source code

Download source files

Download the videos and assets to refer and learn offline without interuption.

check

Design template

check

Source code for all sections

check

Video files, ePub and subtitles

Assets

Videos

Subtitles

Meet the instructor

We all try to be consistent with our way of teaching step-by-step, providing source files and prioritizing design in our courses.

Willie Yam

Front-end/UI developer at Design+Code

I do UI coding. HTML/CSS/JS/SWIFTUI dev.

icon

10 courses - 37 hours

course logo

Design and Prototype an App with Play

Build a completely functional prototype without writing a single line of code from your phone

3 hrs

course logo

Create a 3D site with game controls in Spline

Build an interactive 3D scene implemented on a ReactJS site using Figma and Spline

2 hrs

course logo

Build a Movie Booking App in SwiftUI

Learn how to create an iOS app based on a beautiful UI design from Figma with interesting animations and interactions, create a custom tab bar and use navigation views to build a whole flow

1 hrs

course logo

Build Quick Apps with SwiftUI

Apply your Swift and SwiftUI knowledge by building real, quick and various applications from scratch

11 hrs

course logo

CSS Handbook

A comprehensive series of tutorials that encompass styled-components, CSS, and all layout and UI developments

1 hrs

course logo

Advanced React Hooks

Learn how to build a website with Typescript, Hooks, Contentful and Gatsby Cloud

5 hrs

course logo

Unity for Designers

If you want to make a game and don't know where to start, you are in the right place. I will teach you how to use Unity, code in C# and share essential tips and tricks to make your first game.

5 hrs

course logo

Create a Javascript Game

Learn how to create a web game using Phaser 3, a popular javascript game engine. Draw a map using an editor, implement the player, make the player move, apply physics, collisions, and implement the enemies.

2 hrs

course logo

Build an ARKit 2 App

Introduction to ARKit and learn how to make your own playground. You will be able to add models or even your own designs into the app and play with them

4 hrs

course logo

Create a SpriteKit Game

Overview of SpriteKit a powerful 2D sprite-based framework for games development from Apple and learn how to create your very own platform

3 hrs