Use plain buttons in the confetti amount example (#3135)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-09-23 00:02:26 +02:00
1 parent add68b29b6
commit c28e848f0f
2 files changed
+7 -2

No files matched your search

@@ -0,0 +1,5 @@
---
"@tabler/docs": patch
---
Updated the confetti amount example to use plain `.btn` buttons instead of `.btn-outline-primary`.
+2 -2
View File
@@ -34,8 +34,8 @@ Use confetti for a moment, not for a page. One burst when a setup is finished or
Set `data-bs-count` for the number of pieces and `data-bs-duration` for how long they keep pouring, in milliseconds. The pour is always dense at the start and thins out towards the end, whatever its length.
<Example centered>
<button type="button" class="btn btn-outline-primary" data-bs-toggle="confetti" data-bs-count="60" data-bs-duration="800">A few</button>
<button type="button" class="btn btn-outline-primary" data-bs-toggle="confetti" data-bs-count="600" data-bs-duration="6000">A lot</button>
<button type="button" class="btn" data-bs-toggle="confetti" data-bs-count="60" data-bs-duration="800">A few</button>
<button type="button" class="btn" data-bs-toggle="confetti" data-bs-count="600" data-bs-duration="6000">A lot</button>
</Example>
### Colors