deepyr 0.1.6 copy "deepyr: ^0.1.6" to clipboard
deepyr: ^0.1.6 copied to clipboard

A type-safe Dart implementation of DaisyUI components for Jaspr, providing a fluent API for building beautiful web apps (PoC)

Deepyr #

pub version

Jaspr + DaisyUI => Deepyr

A type-safe Dart implementation of DaisyUI components for Jaspr, providing a fluent API for building beautiful web apps with Tailwind CSS.

Proof of concept #

This package currently serves as a proof-of-concept for integrating DaisyUI with Jaspr using a type-safe Dart API.

πŸš€ Live Demo & Documentation #

Explore all available components and see them in action on the official documentation site:

https://deepyr-doc.web.app/

Design Principles #

  • 🎯 Type Safety - Catch styling errors at compile time
  • πŸ”§ Fluent API - Chain modifiers intuitively
  • πŸ“± Responsive - Built-in breakpoint support
  • 🎨 DaisyUI Faithful - 1:1 component mapping
  • ⚑ Performance - Minimal runtime overhead

Getting Started #

  1. Add Dependency

    Add deepyr to your pubspec.yaml:

    dependencies:
      deepyr: ^0.1.6
    
  2. Setup Tailwind CSS

    deepyr is a component library, not a CSS framework. You must have Tailwind CSS v4 and DaisyUI v5 installed and configured in your Jaspr project for the components to be styled correctly.

Usage Example #

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'),
      ],
      // Apply styles in a type-safe list
      style: [
        Button.primary, // Apply the primary color
        Button.lg.at(Breakpoint.md), // Becomes large on medium screens and up
      ],
      onClick: (_) => print('Button clicked!'),
    );
  }
}

Deepyr Component Roadmap #

Actions #

  • βœ… Button
  • βœ… Dropdown
  • πŸ”² FAB / Speed Dial
  • βœ… Modal
  • βœ… Swap
  • βœ… Theme Controller

Data display #

  • βœ… Accordion
  • βœ… Avatar
  • βœ… Badge
  • βœ… Card
  • πŸ”² Carousel
  • πŸ”² Chat bubble
  • βœ… Collapse
  • βœ… Countdown
  • βœ… Diff
  • πŸ”² Hover Gallery
  • βœ… Kbd
  • βœ… List
  • βœ… Stat
  • βœ… Status
  • βœ… Table
  • πŸ”² Timeline

  • βœ… Breadcrumbs
  • πŸ”² Dock
  • βœ… Link
  • βœ… Menu
  • βœ… Navbar
  • βœ… Pagination
  • πŸ”² Steps
  • βœ… Tab

Feedback #

  • βœ… Alert
  • βœ… Loading
  • βœ… Progress
  • βœ… Radial progress
  • βœ… Skeleton
  • πŸ”² Toast
  • βœ… Tooltip

Data input #

  • πŸ”² Calendar
  • βœ… Checkbox
  • βœ… Fieldset
  • βœ… File Input
  • πŸ”² Filter
  • βœ… Label
  • βœ… Radio
  • βœ… Range
  • πŸ”² Rating
  • βœ… Select
  • βœ… Input field (Text Input)
  • βœ… Textarea
  • βœ… Toggle
  • βœ… Validator

Layout #

  • βœ… Divider
  • βœ… Drawer
  • βœ… Footer
  • βœ… Hero
  • βœ… Indicator
  • βœ… Join (group items)
  • βœ… Mask
  • πŸ”² Stack

Mockup #

  • πŸ”² Browser
  • πŸ”² Code
  • πŸ”² Phone
  • πŸ”² Window
20
likes
0
points
32
downloads

Publisher

verified publisherphilippgerber.li

Weekly Downloads

A type-safe Dart implementation of DaisyUI components for Jaspr, providing a fluent API for building beautiful web apps (PoC)

Homepage
Repository (GitHub)
View/report issues

Topics

#jaspr #daisyui #ui-components #web

License

unknown (license)

Dependencies

jaspr, universal_web

More

Packages that depend on deepyr