Non-full width's Button

I would like the button width to fit the text, but the Button component is always full width.

I found that the button is wrapped in a div with the w-full class.​

<div data-touchable="true" class="flex w-full" tabindex="0">
<button ...></button.
</div>

I can override the <div> style, but it seems unsafe and inappropriate.​
Does anyone have a similar use case, and what solution did you use?

Hi @cesarho
May be you can try adding the variable={'icon '} attribute on the Button like this:

<Button variant={'icon'}>Click me</Button>

@Alan_Liu It works! Thanks.