Skip to content
btwldPublic

About

A Flutter component library that combines headless UI behavior with Mix's powerful styling system, giving you complete freedom to build and customize components that match your design system perfectly.

Resources

Stars

21 stars

Watchers

0 watching

Forks

Repository files navigation

Remix banner

Remix

Flutter components with Naked UI behavior and Mix styling.

Core concepts

  • Naked UI owns interaction: focus, keyboard input, interaction state and accessibility.
  • Mix owns styling: specs, stylers, tokens, variants and animation.
  • Remix composes both: use Remix* with your own styles, or install a preset.
  • Presets are editable app source: choose one per app. Vanilla is neutral; Fortal has its own visual language; HeroUI follows HeroUI web 3.2.6. The CLI installs items and their dependencies.
  • The app owns its UI and host: themes, recipes, state and navigation. Supply an Overlay, Navigator or toast scope where the component needs it.
  • Registries are pinned: remix.yaml records a GitHub commit. Updating that pin and adopting changed source are separate actions.
  • Author once, generate and check: private registry_source produces the registries; apps generate adapters. Runtime packages, registry content and the CLI release independently.

Start with a component

This checkout prepares 1.0.0-beta.14, which is not published yet. The currently hosted version is 1.0.0-beta.13; use the matching release docs or a local path dependency while beta.14 is staged. After publication:

flutter pub add remix:^1.0.0-beta.14
import 'package:flutter/widgets.dart';
import 'package:remix/remix.dart';

Widget saveButton(VoidCallback save) => RemixButton(
  label: 'Save',
  onPressed: save,
  style: ButtonStyler()
      .color(const Color(0xFF2196F3))
      .padding(.horizontal(16))
      .borderRadius(.circular(8))
      .labelColor(const Color(0xFFFFFFFF)),
);

Or install editable theme and component source:

flutter pub add dev:remix_cli
dart run remix_cli:remix init --preset vanilla
dart run remix_cli:remix add button

Place the installed theme above your Navigator in the host's builder before using its widgets. See setup and host requirements.

Agent skills

Install the app UI and design-system authoring skills:

npx skills add btwld/remix

About

A Flutter component library that combines headless UI behavior with Mix's powerful styling system, giving you complete freedom to build and customize components that match your design system perfectly.

Resources

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages