remix
0.2.0, released 7 months ago by leoafarias.com
A modern design system component library built on Naked UI and Mix.
What it does
Remix combines headless UI behavior with a chainable styling system to provide customizable widgets and the prebuilt Fortal design system. It handles complex component states like hover, focus, and press alongside layout and overlays.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need custom design system components with complete styling freedom.
- You want built-in interaction states like hover, focus, and press without boilerplate.
- You want to use prebuilt design tokens and components based on Radix principles.
Skip it when
- You prefer standard Material or Cupertino widgets without custom styling engines.
- You do not want additional styling dependencies like Mix in your project.
Strengths
- Comprehensive set of production-ready components and input elements.
- Chainable, expressive styling API with robust state handling.
- Includes the prebuilt Fortal Design System based on Radix tokens.
Weaknesses
- Requires learning a custom styling API built on top of Mix.
- Adds extra architectural complexity compared to standard Flutter widgets.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 6
Not documented
import 'package:flutter/material.dart';
import 'package:remix/remix.dart';
class MyApp extends StatelessWidget {
final button = RemixButtonStyle()
.paddingX(16)
.paddingY(10)
.color(Colors.blue)
.borderRadiusAll(const Radius.circular(8))
.label(TextStyler().color(Colors.white));
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: button(
label: 'Click Me',
onPressed: () => print('Button pressed!'),
),
),
),
);
}
}Alternatives
Packages that do the same job and could replace remix.
- material_ui
If you prefer standard Google Material Design components instead of a custom styling engine library.
94Compare - cupertino_ui
If you are building an iOS-styled app using native Cupertino widgets.
93Compare
Works with
Packages commonly used together with remix: ones it builds on, ones built on it, and its own family.
- mixremix depends on itA Flutter styling system that separates style definitions from widget code using a fluent API.
- naked_uiremix depends on itBehavior-first headless UI components for Flutter that separate state from presentation.
- prismremix depends on itAn optimized, zero-dependency color manipulation library for Dart and Flutter.