Button

button tag

Overview

Buttons are used with forms to comply with the best HTML and web development practices, you don't require a button component to submit a form, actually, in Uncodie any element on your design can trigger any query.

You can use the button component as a submit or reset button for your forms, to trigger the query in your current form.

Requirements

To use a button you need to set a Form and a query previously to use as a parameter

Setup

  1. Select the layer or element you want to render as a button in Figma

  2. In the plugin navigate to the Component section

  3. Set the type to button

  4. Optionally set the attributes of the component

  5. Compile and publish your project

Usage

Select this component to render a button element in your HTML DOM.

Rendered Element

<button>...</button>

Last updated

Was this helpful?