Learn Framer in 20 Minutes (Crash Course)

Flux Academy
28 Mar 202319:38

Summary

TLDRThis tutorial introduces viewers to Framer, a powerful design tool, by guiding them through the process of building a stylish burger website from a Figma design. It starts with importing background colors and components for navigation, emphasizing the importance of understanding Framer's basics for customization. The video covers the use of stacks for layout, how to animate text and images for a dynamic presentation, and the implementation of responsive design principles. By creating a button component and adjusting its hover state, viewers learn to maintain consistent styling. The tutorial aims to equip beginners with the skills to design and animate websites in Framer, encouraging them to explore its full potential.

Takeaways

  • πŸ‘‹ Introduction to Framer, a powerful tool for building responsive websites and web applications.
  • 🎨 Step-by-step guide to building a cool burger website using Framer in about 20 minutes.
  • πŸ”„ Covers the basics and fundamentals of Framer, including components, layouts, and styling.
  • πŸŽ₯ Demonstrates how to import design elements from Figma and customize them in Framer.
  • πŸ” Walks through creating navigation menus, adding text animations, and incorporating images.
  • πŸ–ΌοΈ Explains the concept of 'stacks' for layout management, similar to flexbox or auto-layout.
  • πŸ’» Shows how to create and style reusable button components with hover effects.
  • 🎬 Introduces Framer's built-in animations and effects for smooth transitions.
  • πŸ—οΈ Discusses the importance of responsive design and how Framer simplifies the process.
  • πŸ” Provides insight into the differences between Framer and Webflow, two popular design tools.

Q & A

  • What is Framer?

    -Framer is a design and prototyping tool that allows users to build interactive websites and web applications with a focus on motion and animation.

  • What type of website is being built in the tutorial?

    -In the tutorial, a burger website is being built, focusing on the first few sections including the hero text, hero image, and hero info.

  • What is the purpose of using components in Framer?

    -Components in Framer are reusable elements that can be used across multiple pages, allowing for consistency and efficiency in the design process.

  • What is the concept of 'stacks' in Framer?

    -The concept of 'stacks' in Framer is similar to auto-layout in Figma or flexbox in web development. It allows elements to be stacked either vertically or horizontally, making it easier to manage layout and responsiveness.

  • How is the hero text animated in the tutorial?

    -The hero text is animated using a pre-built component called 'Motion Text' from the Framer Supply, which allows for word-by-word or line-by-line animation of text.

  • What is the purpose of turning the button into a component?

    -Turning the button into a component allows for reusability, making it easier to maintain consistent styling and behavior across multiple instances of the button, even with different variants or states.

  • How is the hover effect for the button achieved?

    -The hover effect for the button is achieved by creating a separate 'hover' variant within the button component, allowing for changes in background color, shadow, and other properties when the user hovers over the button.

  • What is the difference between Framer and Webflow?

    -The instructor mentions having made a separate video discussing the differences between Framer and Webflow, two popular design and prototyping tools, but does not provide details in this particular script.

  • What additional sections or features are mentioned for future development?

    -The instructor mentions that turning the design into a fully responsive layout and adding the remaining sections of the website are beyond the scope of this particular video, suggesting that there are more features and sections to be developed in the future.

  • What is the overall goal of the tutorial?

    -The overall goal of the tutorial is to provide an introduction to Framer, teach the basics and fundamentals of the tool, and guide viewers through building a cool burger website in about 20 minutes, focusing on understanding the core concepts rather than just copying and pasting pre-made designs.

Outlines

00:00

πŸŽ₯ Introduction and Setup for Building a Burger Website with Framer

The video provides an introduction to Framer, a tool for building interactive websites. The goal is to build a cool Burger website in about 20 minutes. The speaker mentions that Framer has a plugin to import Figma designs with a single click, but in this tutorial, the focus is on teaching the basics and fundamentals of Framer so that viewers can understand how it works and can customize and build whatever they want, not just copy and paste without fully comprehending the process.

05:00

🌈 Setting up Background Color, Menu, and Layout

The first step is to bring in the background color, which is a dark gray. The speaker then adds a navigation menu from Framer's components, which is already responsive with a hamburger menu on mobile. The menu is customized by changing the background color, font, and text styles. The concept of stacks, similar to Flexbox in CSS, is introduced for layout. Stacks allow elements to be stacked either vertically or horizontally, making it easier to create a consistent and responsive layout.

10:02

🎨 Adding Animated Text and Hero Image

The speaker uses Framer's Motion Text component, which allows for animating text word-by-word or line-by-line. The actual text for the website is added and styled with the desired font, size, and color. The layout is set to stack the text in the center. The hamburger image is then added and animated with a scaling effect, delayed by half a second after the text animation. A new section with a green background is introduced, and the layout is set to have two columns side by side. Padding and spacing adjustments are made to ensure proper alignment and visual balance.

15:04

πŸ” Adding Buttons as Components and Responsive Design

A button component is added to the website, and the speaker explains the importance of using components for reusable elements like buttons. The button is styled with a background color, font, padding, border, and shadow. A hover variant is added to change the button's appearance when the user hovers over it. The video concludes by mentioning the next steps, which involve making the design responsive and adding other sections, but those topics are beyond the scope of this tutorial. The speaker invites viewers to provide feedback and expresses interest in exploring more about Framer and its differences compared to Webflow in a future video.

Mindmap

Keywords

πŸ’‘Framer

Framer is a design and prototyping tool that allows users to build interactive websites and applications. It is the primary focus of the video, which aims to introduce viewers to Framer and guide them through building a simple burger website. The script mentions that there is a lot of hype surrounding Framer at the moment, highlighting its popularity and potential.

πŸ’‘Figma

Figma is a collaborative interface design tool mentioned in the video. The presenter states that they have a Figma design for the burger website they want to build, and they mention that Framer has a plugin to import Figma designs with a single click. However, they choose not to use this plugin for the tutorial to teach the fundamentals of Framer and ensure viewers understand how to customize and build projects from scratch.

πŸ’‘Components

Components are reusable elements in design tools like Figma and Framer. The script explains that components are elements that you want to reuse across multiple pages, like the navigation menu. The presenter demonstrates creating a component for the navigation menu and editing it as a master component that affects all instances of that component in the project.

πŸ’‘Stacks

Stacks are a layout concept in Framer that allows elements to be stacked either vertically or horizontally. The presenter compares them to auto-layout in Figma or flexbox in web development. Stacks help create consistent layouts that can easily be made responsive by changing the direction of the stack. The script demonstrates using stacks to align and position various sections of the burger website.

πŸ’‘Responsive

Responsive design is a key concept in web development and design tools like Framer. It refers to creating layouts and interfaces that adapt to different screen sizes and devices, typically using techniques like media queries and flexible grids. The video emphasizes making the burger website responsive by using stacks, setting width percentages, and ensuring elements are centered and aligned properly.

πŸ’‘Animation

Animation is the process of creating the illusion of motion by displaying a sequence of images or frames. The video script highlights Framer's animation capabilities, showing how to animate the text and images on the burger website using effects and motion components. The presenter demonstrates animating the hero text word-by-word and making the burger image scale in with a delay.

πŸ’‘Supply

Supply is a feature in Framer that provides ready-made components that users can copy and paste into their projects. The presenter uses the Motion Text component from the Supply to easily add animated text to the burger website. This feature helps streamline the design process by providing pre-built, reusable components.

πŸ’‘Variant

A variant is an alternative state or version of a component that allows for different styles and behaviors. The script demonstrates creating a button component and designing variants for its default state and hover state. Variants enable designers to define how a component should look and behave in different contexts or interactions.

πŸ’‘Layout

Layout refers to the arrangement and positioning of elements on a page or interface. The video emphasizes the importance of layout in Framer, using stacks and alignment options to ensure elements are positioned correctly and consistently. The presenter adjusts padding, spacing, and alignment to create a visually appealing and well-structured layout for the burger website.

πŸ’‘Styling

Styling refers to the process of applying visual properties like colors, fonts, and effects to elements in a design. The video script walks through styling various components of the burger website, such as setting font styles, background colors, border radii, and shadows. Proper styling is crucial for creating visually appealing and cohesive designs.

Highlights

Framer allows you to build cool websites in a short amount of time, like the Burger website in this tutorial.

Framer has a plugin to import your Figma design with one click, but this tutorial focuses on teaching the basics and fundamentals.

Adding a background color and using the shared color palette makes your work more efficient.

Framer has pre-built navigation components that make it responsive with a hamburger menu on mobile.

Components are elements that you want to reuse across multiple pages, like the navigation element.

You can edit components separately from the page as a master, and changes will reflect on all instances.

Framer uses a concept called Stacks, similar to Figma's Auto Layout or Webflow's Flexbox, for responsive layout.

Framer has a Supply of ready-made components like Motion Text, which allows you to animate text nicely.

You can set a maximum width and align text to ensure it's always centered or aligned properly.

Framer allows you to easily add animations and effects like scaling and delaying elements.

You can create components like buttons and reuse them with different variants, like changing color or hover state.

Framer makes it easy to add responsive design and additional sections to your website.

Framer and Webflow are two popular tools for building websites, each with their own strengths.

This tutorial provides a comprehensive introduction to building a website using Framer's features.

Framer allows you to quickly create engaging and responsive websites with animations and reusable components.

Transcripts

play00:00

there's lots of hype about framer at the

play00:02

moment people are building some really

play00:04

cool stuff so today I want to give you

play00:05

an introduction to framers so that you

play00:07

can get started for free we're going to

play00:09

build this cool Burger website in about

play00:11

20 minutes let's dive right into it

play00:14

we're building this burger website that

play00:15

I have here on figma we're not going to

play00:17

build the whole thing just the first few

play00:18

sections and if you want to try this

play00:20

along and build the whole thing

play00:21

duplicate the figma file below this

play00:23

video now before I get started I want to

play00:25

mention that framer does have a plug-in

play00:27

to import your figma design with one

play00:30

click and you can do that and it's going

play00:31

to save you time but in this tutorial I

play00:33

want to teach you the basics and the

play00:35

fundamentals so you understand how frame

play00:37

will work so that you can actually

play00:38

customize and build whatever you want

play00:40

and not just copy paste and not sure how

play00:42

to handle it once it's there so let's

play00:44

build this from scratch first thing I

play00:46

want to do is I'll bring in the

play00:48

background color so I'm going to pick

play00:50

the page for the home page I'm going to

play00:52

go here into the Styles and I'm going to

play00:53

paste it then but also here from the

play00:56

shared caller I'm going to add this in

play00:58

and I'm going to call this dark gray

play00:59

just just so that I have this because

play01:01

I'm going to be reusing the colors and

play01:03

this will make my work more efficient

play01:04

now the next thing I want to do is bring

play01:06

in this menu here now framer already has

play01:10

these kind of components so I can go

play01:12

here into navigation and I have a dark

play01:14

one here and I can just drag it now the

play01:17

good thing about this is this will make

play01:19

it already responsive with a hamburger

play01:21

menu on mobile and this will save me a

play01:23

bunch of time now you can see that when

play01:25

I'm clicking on this it's purple if I go

play01:28

here you get this icon which tells you

play01:30

that this is a component now if you're

play01:32

familiar with figma or webflow you

play01:35

already know that components are

play01:36

elements that you want to reuse again

play01:38

and again over multiple pages so this

play01:41

makes sense in in a navigation element

play01:44

and often double click it if I'm going

play01:46

to double click it I'm going to go into

play01:48

the components and now you can see that

play01:50

I can edit it separately from the home

play01:53

page so this is the master and I can

play01:55

edit it from here and it will change all

play01:58

of the different elements that are

play02:00

reusing this and you can also see here

play02:02

that it's already set up for the tablet

play02:04

and the mobile when it's clicking and

play02:07

and so it's already set up for me so

play02:09

let's go ahead and edit this so

play02:11

basically what I want to do is I'm going

play02:13

to select this one change the background

play02:16

color to the color that I already have

play02:18

let's go ahead and change change the

play02:21

fonts so I'm going to select all the

play02:23

fonts that I have here framer about

play02:25

contact and even in the button sign up

play02:27

and let's go here into the fonts

play02:30

and basically not select a style but

play02:34

just bow Bowie one this is a Google font

play02:38

that we're using here so this is nice

play02:40

it's already set up for these ones I

play02:43

actually want them to be

play02:46

um capital letters so I'm going to go

play02:48

here into the text Styles and transform

play02:51

them into uppercase this is great for

play02:54

the button as well we're going to dive

play02:57

into buttons a little bit more down the

play03:00

line where we're going to talk about

play03:01

them as components but for now I'm just

play03:03

going to select this and set the

play03:06

transform for uppercase as well so

play03:09

basically now we have them maybe we want

play03:11

to change the color of the the style of

play03:15

the these to this beige color so let's

play03:17

take this badge color

play03:19

my God now I'm gonna have to give this a

play03:21

name and I don't know how to spell Bash

play03:24

so um let's call this brownie or

play03:27

something like this I don't know brownie

play03:30

brownie

play03:31

all right so I've got this color and for

play03:34

the button the button is actually purple

play03:36

so let's do this

play03:39

let's remove the round corners that we

play03:41

have on this button so selecting the

play03:44

button here it has round corners where

play03:48

is the round corners

play03:50

where are they Gap wrap

play03:54

radius eight I'm going to change that to

play03:57

zero all right so the corner radius is

play03:59

back and the color is this purpley which

play04:04

we're gonna add another as another color

play04:06

purple

play04:08

and basically

play04:10

we're done we have the navigation done

play04:12

we can of course change how it looks on

play04:14

mobile but actually everything looks

play04:16

pretty nice right now and I'm back to

play04:18

the home page we've got our navigation

play04:21

now we've got the text okay first before

play04:24

we're talking about the text let's talk

play04:25

about layout and how we're going to set

play04:27

up the layout in general here so the

play04:30

concept that framer have created they're

play04:32

calling it stacks and if you're familiar

play04:34

with figma auto layout or with webflows

play04:38

flexbox it's exactly the same actually

play04:40

when it's going to be turned into code

play04:42

they are actually using flexbox so if

play04:45

you're familiar with that that is a

play04:46

great concept and if you're not

play04:48

basically let me show you how this works

play04:50

basically it's it has an element that

play04:53

either Stacks element one on top of

play04:55

another or one next to each other so

play04:58

let's bring in rows because basically

play05:00

that's that's what we have here right we

play05:02

have a few few rows actually we can see

play05:05

this as one row second row and third

play05:07

rows right so we have here let's say

play05:09

frame number one frame number two let's

play05:12

copy and paste this so that just so that

play05:14

you can see uh that we have here

play05:19

that we have as you can see one two

play05:22

three elements here so these are going

play05:24

to be our sections right and you can see

play05:26

that they're stacked one on top of

play05:28

another they have a gap which is the

play05:30

space between them and the reason this

play05:32

is useful is that you can see we can

play05:34

change the direction of the stack so now

play05:37

we can take columns and turn them into

play05:39

you know just rows and this helps to

play05:41

make things

play05:43

um easier when we're turning this into a

play05:44

responsive and it just helps to make the

play05:46

layout more consistent and easier to

play05:48

yeah to lay out stuff so the first fact

play05:52

I'll actually let's give this names for

play05:54

clarity so this is going to be hero text

play05:56

the first frame hero text and the second

play06:00

one is going to be the hero image

play06:03

and then the third thing is going to be

play06:05

this let's call this uh hero info

play06:08

whatever hero info so these are the

play06:11

three sections that we have here uh

play06:14

let's just make sure that this Frame

play06:16

here is actually all the way from end to

play06:19

end we can also go here into size and

play06:22

set it as a hundred percent and this is

play06:24

going to make it you know uh responsive

play06:27

when the screen size changes which is

play06:29

great okay so now basically for this

play06:32

text I can just put in a text element

play06:34

from here however I want this to animate

play06:37

in a very cool way now here's a nice

play06:39

thing about framer they have this Supply

play06:41

which is kind of like ready-made

play06:43

components which you can just paste into

play06:45

your project and they have this really

play06:47

nice thing that's called motion text

play06:48

which allows you to animate text nicely

play06:51

so let me copy that and actually use

play06:54

that instead of just a normal text

play06:56

element so I'm coming in into the hero

play06:58

text and I'm pasting after I've copied

play07:00

it from the supply thing and now you can

play07:03

see that we have this hello world thing

play07:05

now just for Let's test this out let's

play07:08

play this around

play07:09

and you'll be able to see this hello

play07:11

world thing is animating word by word

play07:13

right hello World

play07:16

um and we can from the settings panel we

play07:18

can go here and see here's the text

play07:20

that's animating and it's animating by

play07:22

letter we can do by word or by line

play07:24

let's actually bring in our actual text

play07:27

and put it in here

play07:30

now we can go here and also change the

play07:33

the fonts and stuff and we we will do

play07:35

that in a second but what I want to show

play07:36

you is right now it's kind of like a

play07:38

design software where you can just place

play07:39

it whatever you want that's not what we

play07:41

want in a web we want it to always be

play07:43

either a line somewhere or centered so

play07:46

to make sure that this text is always

play07:48

aligned the way that we want it to be

play07:49

aligned I'm going to go here into the

play07:51

hero text which is the frame in the web

play07:53

design we're calling it wrapper because

play07:55

it wraps it contains everything that is

play07:57

inside of it and I'm going to turn this

play07:58

into a stack as well right I'm going to

play08:00

go here into the layout add a layout and

play08:03

basically now this is a stack now it's

play08:06

it doesn't really matter because I have

play08:07

just one element if it's stacked

play08:09

horizontally or vertically but I just

play08:11

want to make sure that it's centered and

play08:13

aligned Center so now you can see I

play08:15

can't move this thing around it's always

play08:17

going to jump into the center which is

play08:19

exactly what I want now for this motion

play08:22

text I don't know why it's so small

play08:23

actually let's go ahead and set this up

play08:26

to maybe 90 of the width so that it's

play08:29

quite like this let's also go and change

play08:32

the font for this so from inter we can

play08:34

use this Bowery forgot the name of this

play08:37

font Bowery one

play08:39

uh we can use something bigger like I

play08:42

don't know 70 or maybe even 75 here

play08:46

we can make sure that this is something

play08:50

like one and what is the color the color

play08:52

is the normal color that we have

play08:56

here this brownie also we don't need the

play08:58

background color that we already

play09:00

originally have for these frames so for

play09:02

a hero text I'm just going to go ahead

play09:04

and remove the fill and this looks quite

play09:07

well actually maybe we just want this

play09:11

this is three lines so maybe we want to

play09:13

make this a little bit bigger so let's

play09:15

go ahead and make this yeah something

play09:17

like this looks pretty good all right

play09:20

now let's play this around you can see

play09:22

that it's already animating pretty cool

play09:24

right so this this was easy and very

play09:27

nice now let's change this to animate by

play09:29

line I think this will be more

play09:31

appropriate so now we have this really

play09:33

nice intro animation for the text that's

play09:36

great all right for the hero image let's

play09:38

go ahead and bring in this hamburger

play09:41

image so right inside of it I have my

play09:44

image right here I'm just going to drag

play09:46

it in inside

play09:49

and we need to basically do the same

play09:51

thing that we have done previously where

play09:54

is the the burgers I'm going to put it

play09:56

inside of this hero why can't I see it

play09:59

oh for some reason it's really down here

play10:02

below

play10:03

which I'm not sure why

play10:05

maybe I dragged it below okay but again

play10:08

I want this to always be centered just

play10:10

like we had here so let me go here into

play10:11

the hero image and turn that into a

play10:14

layout that's going to stack it in the

play10:16

center I also do not need the background

play10:19

image here and I want this image to be

play10:22

as big as I can so let's turn it into a

play10:25

hundred percent width maybe 90 right

play10:28

something like this okay so this looks

play10:31

good also maybe if I try to

play10:35

resize these elements a little bit

play10:38

I wonder if I can get them to

play10:42

yeah go a little bit on top of it which

play10:44

is pretty nice all right okay so we've

play10:48

got the image here

play10:50

actually let's animate the image as well

play10:53

the the burgers as well right because

play10:54

now we have the burgers and the text is

play10:57

animating so let's do that the text is

play10:59

animating and then the burgers come on

play11:01

top this is really easy to do I'm going

play11:03

to select the burger image and I'm gonna

play11:05

add here an effect and this effect Let's

play11:08

do an appear effect and let's do yeah

play11:11

when it appears scale in

play11:14

um let's try scale in or scale in button

play11:16

I don't even know what that means but

play11:18

let's let's test it out let's play it

play11:20

around

play11:21

let's reload this and you can see that

play11:22

yeah it is appearing now same way but

play11:26

maybe let's try to delay this a little

play11:29

bit right so we're in the effect we can

play11:32

uh maybe just

play11:34

go ahead and see the spring and delay it

play11:37

by half a second so that first the text

play11:40

will show up and then the burgers will

play11:43

show up let's see how that looks

play11:45

alright so that's better right text is

play11:47

showing Burger is showing looks pretty

play11:49

good all right the next section that we

play11:52

have is we have this burger yellow uh

play11:55

not yellow greenish section with some

play11:58

text here let me grab the green color so

play12:01

here for this one actually it's a good

play12:03

idea to have this uh to have this fill

play12:06

color but let's just change it to this

play12:08

green

play12:09

and let's call it green

play12:12

and also this section probably needs a

play12:15

corner radius because we can see here

play12:17

that there's some corn radius so let's

play12:19

go here I'm just going to play this by

play12:22

eye something like this

play12:24

and uh what else this this thing has

play12:27

right so it has a little bit of spacing

play12:30

I think we should probably go here into

play12:31

all of these rows and add a tiny bit of

play12:34

Gap maybe between these elements or

play12:38

maybe this for this Hero Burger uh maybe

play12:41

we can add a little bit of padding from

play12:43

the top just to push it so on the layout

play12:45

front you can see that we have padding

play12:47

here I'm going to just add padding from

play12:49

the bottom so this is bottom yeah I can

play12:52

push it around like this a little bit

play12:54

and let's just space things out so

play12:58

that's more yeah nicely and for this

play13:02

hero thing maybe let's set the size to

play13:06

maybe just 90 percent

play13:09

something just like this all right so

play13:12

now that we have this Frame this Frame

play13:14

you can already see that it has two

play13:16

columns inside of it what that basically

play13:18

means is that we're going to turn that

play13:20

into a layout that stack things one next

play13:23

to another right so let's add some

play13:25

frames inside let's add a layout frame

play13:29

in here and let's copy and paste that so

play13:33

we have two frames here let's make sure

play13:35

that the frames are actually trying to

play13:37

fill in as much of the space that they

play13:40

have so that we have here like split

play13:42

screen so now we have the layout of this

play13:45

section actually that we can go ahead

play13:47

and add a little bit of padding just to

play13:49

make sure that there it's spaced nicely

play13:52

which is what we need here and we can

play13:55

add a little bit of space between these

play13:57

elements all right so we've got the

play13:59

element now we just need to add the

play14:01

content so for this one we can add text

play14:04

so let's add the text Burgers a ball of

play14:08

above all Burgers let's add this in here

play14:11

and of course we want to First style it

play14:15

now in this case it's good idea to use

play14:17

these styles that are already here so

play14:20

that we can reuse them H1 was probably

play14:22

this and we didn't use this because we

play14:24

used the component but this one let's

play14:25

use an H2 and make sure that it's the

play14:29

font that we want

play14:31

um the size that we want maybe it's like

play14:34

35 or 40 something like that

play14:38

um

play14:40

actually that was a size sorry

play14:42

um what else do we have here I want to

play14:45

make sure that it's aligned and I want

play14:48

to make sure that it's not too big as it

play14:50

is right now right so I'm going to add a

play14:53

maximum maximum width of a hundred

play14:56

percent right so that it's not too big

play14:58

and for this Frame how do we align stuff

play15:01

we add a layout and we make sure that

play15:04

it's yeah it's centered maybe to the top

play15:06

so now we have this nice thing it's not

play15:10

all caps so we can go into the text

play15:13

uh style and we can change that to

play15:16

uppercase so this is nice probably maybe

play15:19

I need it to be bigger right so the text

play15:22

should be bigger that would be easy to

play15:25

change just the size and we don't need

play15:28

the background of this Frame that we

play15:30

have here so I'm going to remove the

play15:31

fill color and basically going to do the

play15:34

same thing for this element actually you

play15:36

know what it's probably going to be

play15:38

easier to just duplicate this row that

play15:40

we already have here and this just

play15:43

change from the H2 to a paragraph which

play15:46

we can of course also edit the font

play15:51

[Music]

play15:51

um

play15:52

edit the font maybe select a dark dark

play15:55

gray this is actually not the font that

play15:59

I want here so here we do need something

play16:01

like inter

play16:02

and add some kind of Allure ipsum font

play16:05

that we can use

play16:08

maybe bigger a little bit bigger I guess

play16:13

let's make it a little bit bigger

play16:15

and maybe I'm kind of like a semi-bold

play16:18

thing all right the last thing that I

play16:20

want to add is this button here and use

play16:23

this as a way to introduce buttons as

play16:26

components so let's bring in a button I

play16:29

can search here for a button component

play16:32

and just bring it in here now I want to

play16:36

turn this thing into a component and why

play16:38

because a button as you can see on this

play16:40

website we're using it here and here

play16:43

we're reusing this element but at

play16:45

different variance right sometimes we

play16:46

change the in the the color or the hover

play16:49

situation so we want to be able to reuse

play16:51

this and maintain the same stop

play16:53

so I'm going to click right click create

play16:55

a component

play16:57

um yeah let's call this button and now

play16:59

we can go ahead and style this in this

play17:01

case The Styling that we want is for

play17:06

this variant uh

play17:07

for the main variant is let's do the

play17:11

brownie thing for the text inside I'm

play17:14

going to use

play17:16

um

play17:17

the the brown the bowlery font we're

play17:21

going to make it dark so we basically

play17:24

uh stylus whatever we want we don't want

play17:28

a radius color I don't want a radius

play17:30

Corner maybe I want a little bit more

play17:32

padding from the sides so left and right

play17:36

I'm going to add a little bit more

play17:38

padding here on the layout panel so

play17:40

that's going to give a little bit more

play17:42

spacing here now here's what I really

play17:44

wanted to show you I also actually want

play17:46

to add a border so I'm going to add a

play17:48

black border

play17:50

and also going to add a shadow

play17:53

because we have this kind of like a drop

play17:56

shadow harsh drop shadow here so let's

play17:59

go ahead and do that

play18:01

not blurry we don't want any any blur to

play18:05

this so zero blur a little bit of spread

play18:09

one spread and then maybe like four and

play18:11

four all right so we've got the button

play18:14

but now I want to design what happens

play18:15

when people hover on top of it and I do

play18:18

that by adding another variant which is

play18:20

the over one so in this case what I want

play18:22

to happen

play18:24

is let's say I want the uh the

play18:27

background to change to maybe purple and

play18:29

I want the the shadow to kind of like go

play18:32

back inside so it looks like I've

play18:34

actually clicked it so let's go into the

play18:36

Shadow and change the distance to zero

play18:39

and zero all right so now let's see how

play18:42

that looks so basically you can see here

play18:46

that I have the button let's play this

play18:48

around

play18:49

and I have this button which is

play18:52

animating on the hover State now the

play18:56

next step would be to turn all of this

play18:59

into responsive and add the other

play19:01

sections but that's beyond the scope of

play19:04

this video so let's conclude it let me

play19:06

know if you're interested to learning

play19:07

more about framer and if you want to

play19:10

learn about I hear a lot of discussion

play19:11

about what's the difference between

play19:13

framer and webflow which one of them

play19:15

should I check I made a video on the

play19:16

topic so you want to check it out here

play19:18

I'll see you in the next video peace out

play19:23

foreign

play19:26

[Music]