Figma Tutorial: Law Firm Landing Page Design From Figma to HTML (Theme Composer Plugin)
Tags: figmatutorial, landingpagedesign, figmaplugin, figmatohtml
Published: 2021-10-27 17:41:31

---
title: Figma Tutorial: Law Firm Landing Page Design From Figma to HTML (Theme Composer Plugin)
published: true
date: 2021-10-27 17:18:03 UTC
tags: figmatutorial,landingpagedesign,figmaplugin,figmatohtml
canonical_url: 
---

![](https://cdn-images-1.medium.com/max/1024/1*cESRLMlNoBonuixBOYzZZA.jpeg)

To design a Landing Page with Figma, you don’t have to be an expert in Figma. In fact, you can create a Landing page design in no time at all using the Theme Composer Figma plugin.

In this quick tutorial, we’ll use the Theme Composer Figma plugin to show you how to create a landing page, customize it, and covert it to HTML/CSS code.

We’ll create a Law Firm landing page and here’s a sneak peek at what the finished design will look like.

![](https://miro.medium.com/max/1400/1*b0U4FmeTcKvClxMVyfqf9A.png)

To be able to design this landing page, we’ll see how to :

- **Generate a landing page design with the Theme Composer plugin.**
- **How to add our text and images content to the landing page.**
- **We’ll also see how to edit the color palette of the landing page.**
- **And lastly, we will convert our landing page to a responsive HTML code.**

Let’s get started.


### Video Tutorial Here!

[![IMAGE ALT TEXT HERE](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dshpzifxioy3yuuz0efi.jpg)](https://youtu.be/PmLVw15IPUI)


### Install Theme Composer Plugin

Before we begin, let’s install the Theme Composer plugin to our Figma editor.

To install the plugin:

- First, head to [**figma.com/community**](http://figma.com/community)
- In the community search bar, you can type : **theme composer**

![](https://cdn-images-1.medium.com/max/1024/0*XtEW5FVydn_BCyun.png)

- Now, select the plugin tab below the navbar.

![](https://cdn-images-1.medium.com/max/1024/0*N89UbED5GgZ4h6qC.png)

- And hit the Install button in the right corner of the plugin’s preview.

![](https://cdn-images-1.medium.com/max/1024/0*csKfo35u8VYow54d.png)

- You can also install the plugin using the following link : [https://www.figma.com/community/plugin/1031231406409957685/Theme-Composer---Figma-Website-Builder](https://www.figma.com/community/plugin/1031231406409957685/Theme-Composer---Figma-Website-Builder)
- Hit the Install button in the top-right corner of the plugin’s home page to install.

![](https://cdn-images-1.medium.com/max/1024/0*kppMQqb8lXzH8oQA.png)

To see the plugin in action, let’s go to our Figma editor and create a new Figma file.

- Then, **right MouseClick** on your canvas and go to **plugin > Theme Composer.**

Theme Composer is split into two sections: a **User Interface Library** and an **HTML Generator**.

Let’s open the **UI Library** section first

- Go to **plugin > Theme Composer > UI Library**

![](https://cdn-images-1.medium.com/max/700/0*-wu3girbCZZYyyBD.png)

![](https://cdn-images-1.medium.com/max/424/0*8eyTNNIHDIQFK6dT.png)

You can scroll down in the plugin to see a wide range of ready to use **landing pages, headers, features, call to actions, footers** and many other building blocks at your disposal that you can use to build your website without the need to any design skills.

You can use the plugin’s drop-down menus to navigate through the available UI Library categories.

- Hit the **Categories** dropdown menu to see all the design categories available.

![](https://cdn-images-1.medium.com/max/424/0*xhhTt3xCpBNP9YLk.png)

Every design element has two distinct styles: light and dark.

You can also filter by **Niches** , like **course, medical, school, legal, services** and so on.

- Hit the **Styles** drop-down menu to choose between Light or Dark style.

![](https://cdn-images-1.medium.com/max/424/0*2h_yeZd5zO3UT3JP.png)

- If you want to filter UI Elements by niches, click on the Niches drop-down to get access to all the design niches available.

![](https://cdn-images-1.medium.com/max/432/0*gqD_-c9w5qY2kHZm.png)

The second section of the plugin is the Html Previewer. This section allows you to convert every User Interface available in the Theme Composer UI Library to HTML easily.

![](https://cdn-images-1.medium.com/max/683/0*qIyYjXxp7nPPdtpT.png)

- In the Html Previewer section, you can generate and access your design’s code source.

![](https://cdn-images-1.medium.com/max/423/0*8-V7Br1GH5Je1WOJ.png)

After this brief tour of the Plugin, let’s begin our tutorial.

### 1- Generate the landing page design

To start, we’re gonna generate our landing page design First.

Let’s open the Theme Composer plugin.

- Go to **plugin > Theme Composer > UI Library**
- In the **Categories** drop-down menu select **landing page**.

![](https://cdn-images-1.medium.com/max/428/0*zGJ7j3Sd_NyH75Ir.png)

- Then select **course** in the **Niches** drop-down

![](https://cdn-images-1.medium.com/max/424/0*1vnsc3jqzOK6UbaG.png)

We’re gonna pick the first landing page design in the UI Library.

![](https://miro.medium.com/max/2400/1*-O_AmHcCVlp7yVptFiX61g.png)

To generate the landing page click on the **Generate** button bellow the landing page thumbnail.

![](https://miro.medium.com/max/700/1*uPOOFUrqRlsHfCSM6umvKQ.png)

It will take some times for the plugin to generate all the layers, images and styles of the landing page.

![](https://miro.medium.com/max/700/1*2Ox7r6jGmSzFkavnzzwjng.png)

Now that we’ve generated our landing page, we need to add our text and images content and edit our color styles.

### 2 — Edit the Landing Page Content

#### 1 — Replace The Default Text Content

Let’s jump to the top of our landing page.

I would like to start by changing our logo placeholder. It is super easy to do it.

- First, hold the **CTRL** or **Command** key in mac and click on the logo layer with the **left MouseKey**.
- Now, **double click** to select the logo’s content.

We’re going to replace the text **BrandName** with **Figmaland.** That’s about it, you can now change any text layer following these simple steps.

![](https://cdn-images-1.medium.com/max/1024/0*e02pWqV3y48_kShJ.png)

We’ll also change our **headline**.

- Hold the **CTRL** or **Command** key in mac and select the **headline** layer with the **left MouseKey**.
- Then, **double click** to select the headline’s content and replace the placeholder content our headline content.

![](https://miro.medium.com/max/700/1*GM3fX5Y46ZYDWgkaSPoXfg.png)

We’ll do the same for the **sub-headline**.

- Hold the **CTRL** or **Command** key in mac and select the sub-headline layer with the **left MouseKey**.
- Then, **double click** to select the **sub-headline** ’s content and replace the placeholder content with our content.

![](https://miro.medium.com/max/700/1*aGEGaXoXxT-dn7FlUdUvzg.png)

We can Also change the text on our buttons using the same steps as before.

![](https://miro.medium.com/max/700/0*dAkVNZW6TZ7fVHFj.png)

Let’s move faster with the other text layers.

After being done with our text content, we’ll move to edit our landing page images.

### 2 — Replace The Default Images

Let’s change our Header’s hero background image.

First, we’ll hold the **CTRL** or **Command** key in mac, and click on the image layer of our header with the **left MouseKey** to select it.

Now, we’ll go to the layer section in the left hand sidebar and make sur the layer **hero-2-cover sec-** is selected.

![](https://cdn-images-1.medium.com/max/221/0*9oaTqKpY0n9xpK5X.png)

After selecting our image layer, let’s head to the **Fill** section in the right-hand sidebar. Hit the **image layer** inside the **Fill** section to trigger the **image modal**.

![](https://cdn-images-1.medium.com/max/488/0*Q0U3ZvHZXLWN8TCD.png)

Now, we can hover on top of the **image box** in the modal to see the **Choose Image button** appears in the center of the image box.

![](https://cdn-images-1.medium.com/max/482/0*vrDTvwWvSVTkUTUT.png)

Let’s click on **Choose image** , and pick our desired image from the folder window.

![](https://cdn-images-1.medium.com/max/709/0*NX4LqKAKvKiYU3NX.png)

![](https://cdn-images-1.medium.com/max/983/0*uj4P_TaWD2jgtQqn.png)

Again to move fast in this tutorial, I will speed-up a little the process of editing the images content.

After editing our design’s content, we’ll see how we can customize more our design by editing its color styles.

### 3 — Edit the Color Styles

The Figma color styles allow us to easily access and change the color palette of our landing page. Let’s say we want to change the color of our buttons.

- First, we’ll **Select** the layer of our “Join Us” button

![](https://cdn-images-1.medium.com/max/212/0*luacatDZ6nULJY2h.png)

- Then, head to the **Fill section** in the right-hand sidebar. Select the layer’s **color style** which is “ **primary-color”** to trigger the color **styles list**.

![](https://cdn-images-1.medium.com/max/241/0*S9CSFRh7oajKY4yN.png)

A **modal box** will appear besides **primary-color**.

![](https://cdn-images-1.medium.com/max/468/0*LRcUHbVBOXzpU5fg.png)

- Select the **color square** on the bottom section of the modal to trigger the **color picker.**

![](https://miro.medium.com/max/700/1*Axx4E59mlZLSA69tr3Q9ZA.png)

Now, let’s pick a bright orange color on the color picker or add this code to the **Hex** input field:  **1BBE83**.

![](https://miro.medium.com/max/245/1*5WI15zRo22_gI3uTYZuqKA.png)

Our new color will be applied to every component with the **primary-color** style attached to it.

![](https://miro.medium.com/max/700/1*1JKuUEP9vh1jxaW809JzhA.png)

To see a list of all the color styles used on our landing page, simply click on the gray backdrop area. A list of color styles will be displayed in the right-hand sidebar.

You can edit any landing page color style as you see fit.

![](https://miro.medium.com/max/700/1*VUEzD0fJqD4VS1cU7wug4g.png)

Now that we’ve inserted our content, we’ll move on to the exciting portion of this tutorial: converting our Figma landing page design to HTML.

### 3 — Convert the Landing Page to HTML

Let me to show you how to transform our design to a W3C valid Html code, and off course it is fully responsive. All that is done inside Figma, without the need to open a code editor or write a single line of code.

- First, select the landing page frame and go to **plugin > Theme Composer > Html Previewer**

![](https://cdn-images-1.medium.com/max/902/0*u6hjpFfd5RaHcLom.png)

- Hold the **Generate Html** button to generate the code source of the landing page

![](https://cdn-images-1.medium.com/max/397/0*_pAW5ouUOJ-xamu6.png)

- In the **Html Previewer** section, we can access our landing page code source.

![](https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png)

Besides the code source item in the **Html previewer** , we have the ability to generate a **preview link** , **download a Zip file** of our landing page code.

- To generate a **preview link** or **download a Zip file,** hit the **Link**  icon.

![](https://cdn-images-1.medium.com/max/842/0*RtzXtcS7qLCf4yGB.png)

- Select the **Preview URL** button to copy a preview URL of our landing page.

![](https://cdn-images-1.medium.com/max/860/0*ejI4K6tDopI0W_zm.png)

- Now let’s paste the URL generated to our favorite browser to see our landing page in action.
- To download the code source of the landing page, hit the **Download ** button.

![](https://miro.medium.com/max/2400/1*g2rVGPNad0cHPiXcYSlavw.png)

Theme Composer will create a ZIP file that contains all of the code for our landing page.

![](https://miro.medium.com/max/697/1*J73a1Yqcn9x9hZBCDmuR4Q.png)

We can also **delete** the generated HTML item with the bin icon.

![](https://miro.medium.com/max/700/0*qrsyzIKuiQtqvTrw.png)

And that brings us to the end of our medical landing page Figma tutorial. I hope you find this tutorial useful for your future project.

In this tutorial, we learnt how to use the Figma Theme Composer Plugin to create a medical landing page, edit it, and export its HTML code.

### Before you go

Fell free to visit our website [**Figmaland.com**](https://figmaland.com/) where we are sharing generously, ready for commercial use [**Figma and HTML templates**](https://figmaland.com/).

You’ll find three things to help you kickstart your next project’s design :

- [**200+ free Figma templates**](https://figmaland.com/templates/) **.**
- [**Free Html + Bootstrap 5 templates**](https://figmaland.com/templates/tag/html) **.**
- [**Amazing Figma Plugins and UI kits**](https://figmaland.com/uikit/) **.**

![](https://miro.medium.com/max/700/1*KNhduomlyf921hrh-pUbXA.png)