Button

Displays a button or a component that looks like a button.

PreviousNext

Installation

1

Run the CLI

Use the CLI to add the component to your project.

Loading...

Examples

default

type

size

shape

full

loading

API Reference

z-button Directive

Property Description Type Default
zDisabled button disabled state boolean false
zFull button width 100% boolean false
zLoading button loading state boolean false
zShape button shape default | circle | square default
zSize button size default | sm | lg default
zType button type default | destructive | outline | secondary | ghost | link default