Auxx.ai

<Button />

Interactive button component for Auxx app dialogs.

A clickable button with multiple variants and sizes.

import { Button } from '@auxx/sdk/client'

<Button label="Save" onClick={() => console.log('saved')} />
<Button label="Delete" variant="destructive" />
<Button label="Cancel" variant="outline" />
<Button label="Submit" type="submit" />

Props

PropTypeDefaultDescription
labelstringButton text
variant'default' | 'primary' | 'secondary' | 'outline' | 'ghost' | 'destructive''default'Visual style
size'small' | 'medium' | 'large''medium'Button size
disabledboolean?falseDisable the button
onClick(event: MouseEvent) => voidClick handler
type'button' | 'submit' | 'reset''button'HTML button type

On this page