Skip to Content

mix_windsAlpha

Tailwind classes.
Native Flutter.

Write the utilities you already know and get real Flutter widgets — not a webview, not a screenshot.

flutter pub add mix_winds
Built with class strings

Real components, no CSS

Every example uses the same class string in Tailwind and Flutter. Pick one, then drag the seam to compare both renderings.

The API

If you can write the markup, you can write the widget

The functional helpers mirror the elements they replace, so a component ports across without a translation step.

HTMLcard.html
<div class="flex flex-col gap-4 rounded-3xl bg-slate-950 p-6">
  <p class="text-sm text-slate-400">Northstar</p>
  <h2 class="text-3xl font-bold text-white md:text-4xl">Atlas</h2>

  <button
    class="rounded-full bg-indigo-500 px-5 py-2 hover:bg-indigo-400"
  >
    <span class="text-sm font-semibold text-white">Deploy</span>
  </button>
</div>
Dartcard.dart
div('flex flex-col gap-4 rounded-3xl bg-slate-950 p-6', [
  p('text-sm text-slate-400', 'Northstar'),
  h2('text-3xl font-bold text-white md:text-4xl', 'Atlas'),

  button(
    'rounded-full bg-indigo-500 px-5 py-2 hover:bg-indigo-400',
    [span('text-sm font-semibold text-white', 'Deploy')],
    onPressed: deploy,
  ),
])
What you get

Built for Flutter, not bolted onto it

Start with one class string.

mix_winds is an open-source alpha built on Mix. Add it to a Flutter project and style your first widget the way you already think about layout.