# Form Style One

> The following is an example of style you may add to any form component.

Source: https://tadabase.com/docs/snippets/form-style-one  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

![Screenshot for “Form Style One”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1664252782810.png)

The following is an example of style you may add to any form component.

**Step 1**

**Add the following code to the header of your app.**

```
<style>
    .form-style-one .af-form {
        padding: 2rem 2.25rem;
        background-color: #F3F6F9;
        border-radius: 1rem;
    }

    .form-style-one h3 {
        color: #181C32;
        margin-top: 0px;
        margin-bottom: 28px;
        font-weight: 400;
    }

    .form-style-one span.lbl {
        font-weight: 400;
    }

    .form-style-one .af-form form {
        display: grid;
    }

    .form-style-one .form-control {
        color: #3F4254;
        background-color: #ffffff;
        border: none;
        border-radius: 0.60rem;
        box-shadow: none;
    }

    .form-style-one .af-form-submit {
        border-radius: 0.8rem;
        margin-top: 27px;
    }
</style>
```

![Screenshot for “Form Style One”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1664252294686.png)

**Step 2**

**Add the class selector "form-style-one" to any form you wish to style.**

![Screenshot for “Form Style One”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/image-1664252915632.png)

**Original Community post:**

[UI/UX CSS works - Community Discussions / Getting Started - Tadabase Community](https://community.tadabase.io/t/ui-ux-css-works/582/4)
