Homelogologo
Sponsor

Button

Triggers an action or event

Usage

The Button component streamlines styling with design tokens and an intuitive API for responsive interfaces.

import { Button } from "@elemnts-ui/react";
<Button>{...content}</Button>

Sizes

Use the size prop to change the size of the button.

Variants

Use the variant prop to change the variant of the button.

Icon

Use icons within a button

Disabled

Use icons within a button

API Reference

PropTypeDefault
sizexs | sm | md | lg | xlmd
variantprimary | secondary | tertiary | surface | ghost | plainprimary
iconOnlybooleanfalse
fullWidthbooleanfalse
asReact.ElementType-
asChildboolean-