Button🔘

Button have a stronger sense of interaction

Code demonstration

import { UButton } from 'ungeui';

Click trigger🖱️

Different themes🚀

Dark🌊

Dashed line🧵

Size🔥

Text📑

Disable🚫

Icon button🐳

Round⭕

Pre suffix🙌

Props

Parameterdescriptiontypedefault value
typebutton theme'success' | 'danger' | 'warning' | 'info' | 'default''default'
deepdark buttonbooleanfalse
dasheddashed buttonbooleanfalse
sizebutton size'small' | 'medium' | 'large' | 'huge'meduim
texttext buttonbooleanfalse
disableddisable buttonbooleanfalse
roundround iconbooleanfalse

slots

parameterdescriptiontypevalue
prefixprefix Iconstringundefined
suffixsuffix Iconstringundefined

Last Updated: