DocsFrameworksTailwind
Tailwind
Plain CSS, so it sits beside Tailwind with no set-up.
<button class="fidg-hover text-slate-900 [--fidg-accent:#2f6bff]">
<svg class="fidg text-2xl [--v:.62]" viewBox="0 0 24 24">…</svg>
Battery
</button>| To change | Use |
|---|---|
| Size | text-xl, text-3xl, … |
| Ink | text-slate-900, any text colour |
| Value | [--v:.62] on the svg |
| Accent, weight, surface | [--fidg-accent:#2f6bff], [--fidg-stroke:1.75], [--fidg-bg:#0f172a] |
| Look | fidg-mono, fidg-offset, fidg-chip |
Something missing or unclear?Write to usRequest an icon