deepyr
0.7.0, released 7 months ago by philippgerber.li
Type‑safe Dart implementation of daisyUI components for Jaspr, using a fluent API.
What it does
Deepyr maps daisyUI components to Jaspr widgets, providing a type‑safe, chainable API for building web UIs with Tailwind CSS. It supports responsive breakpoints and minimal runtime overhead.
AI-written summary of version 0.7.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building web apps with Jaspr that use Tailwind CSS and daisyUI
- Need compile‑time style safety and fluent modifier syntax
- Want built‑in responsive breakpoint support
Skip it when
- Projects that do not use Jaspr or Tailwind CSS
- When you need a different UI kit or framework
Strengths
- Type safety catches styling errors at compile time
- Fluent API allows intuitive chaining of modifiers
- Built‑in responsive breakpoint handling
- Minimal runtime overhead
Weaknesses
- Still under active development; backward compatibility not guaranteed before v1.0
- Requires Tailwind CSS v4 and daisyUI v5 to be configured
- Limited to Jaspr; not usable with Flutter widgets
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add deepyr to pubspec, install Tailwind CSS v4 and daisyUI v5 in your Jaspr project, then import deepyr and use its components.
import 'package:jaspr/jaspr.dart';
import 'package:deepyr/deepyr.dart';
class MyComponent extends StatelessComponent {
@override
Iterable<Component> build(BuildContext context) sync* {
yield Button(
[
Icon('favorite'),
text('Click Me'),
],
style: [
Button.primary,
Button.lg.at(Breakpoint.md),
],
onClick: (_) => print('Button clicked!'),
);
}
}Alternatives
Packages that do the same job and could replace deepyr.
- yaru
Flutter widgets and theme following the Yaru design language for desktop and web.
83Compare - naki_ui
Material-inspired UI components and design utilities for building responsive web apps with Jaspr.
75Compare - senior_design_system
A Flutter UI kit providing Senior Design System components for mobile apps.
70Compare
Works with
Packages commonly used together with deepyr: ones it builds on, ones built on it, and its own family.