---
import { ArrowRightIcon } from 'lucide-react';
---
<div class="flex items-center gap-4">
<!-- A simple icon button -->
<button type="button" class="btn-icon preset-filled" title="Go" aria-label="Go"><ArrowRightIcon size={18} /></button>
<!-- A standard button -->
<button type="button" class="btn preset-filled">Button</button>
<!-- A button + icon -->
<button type="button" class="btn preset-filled">
<span>Button</span>
<ArrowRightIcon size={18} />
</button>
</div>
Presets
Provides full support of Presets .
<div class="space-y-4">
<div class="flex gap-4">
<button type="button" class="btn preset-filled-primary-500">Button</button>
<button type="button" class="btn preset-tonal-primary">Button</button>
<button type="button" class="btn preset-outlined-primary-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-secondary-500">Button</button>
<button type="button" class="btn preset-tonal-secondary">Button</button>
<button type="button" class="btn preset-outlined-secondary-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-tertiary-500">Button</button>
<button type="button" class="btn preset-tonal-tertiary">Button</button>
<button type="button" class="btn preset-outlined-tertiary-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-success-500">Button</button>
<button type="button" class="btn preset-tonal-success">Button</button>
<button type="button" class="btn preset-outlined-success-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-warning-500">Button</button>
<button type="button" class="btn preset-tonal-warning">Button</button>
<button type="button" class="btn preset-outlined-warning-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-error-500">Button</button>
<button type="button" class="btn preset-tonal-error">Button</button>
<button type="button" class="btn preset-outlined-error-500">Button</button>
</div>
<div class="flex gap-4">
<button type="button" class="btn preset-filled-surface-500">Button</button>
<button type="button" class="btn preset-tonal-surface">Button</button>
<button type="button" class="btn preset-outlined-surface-500">Button</button>
</div>
</div>
Sizes
<div class="flex items-center gap-4">
<button type="button" class="btn btn-sm preset-filled">Small</button>
<button type="button" class="btn btn-base preset-filled">Base</button>
<button type="button" class="btn btn-lg preset-filled">Large</button>
</div>
Disabled
When applied to a <button> element, you can use the disabled attribute.
<button type="button" class="btn preset-filled-primary-500" disabled>Button</button>
Group
<nav class="btn-group preset-outlined-surface-200-800 flex-col p-2 md:flex-row">
<button type="button" class="btn preset-filled">January</button>
<button type="button" class="btn hover:preset-tonal">February</button>
<button type="button" class="btn hover:preset-tonal">March</button>
</nav>