The movie is based on a book by Jennifer Niven, who said in an interview she found inspiration to write the book after having the privilege of knowing and falling in love with a boy who had bipolar disorder.
The book is written in dual perspective of both Finch and Violet.