rise_ui 0.1.0
rise_ui: ^0.1.0 copied to clipboard
RiseUI — a minimal, HeroUI-inspired Flutter component library.
RiseUI #
RiseUI is a minimal, HeroUI-inspired Flutter component library: buttons, inputs, dialogs, toasts, and other building blocks with a cohesive theme.
Install #
dependencies:
rise_ui: ^0.1.0
Or:
dart pub add rise_ui
SDK: Dart ^3.10.1, Flutter >=1.17.0.
Quick start #
Register RiseThemeData as a ThemeExtension on your ThemeData so widgets can read tokens via context.riseTheme:
import 'package:flutter/material.dart';
import 'package:rise_ui/rise_ui.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'RiseUI',
theme: ThemeData(
useMaterial3: true,
extensions: const [RiseThemeData.light],
),
home: const HomePage(),
);
}
}
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: RiseButton(
label: 'Hello',
onPressed: () {},
),
),
);
}
}
For dark mode, add a darkTheme that uses ThemeData(extensions: const [RiseThemeData.dark], …) (and optional ColorScheme.fromSeed wired to those tokens — see the example app’s _riseExampleTheme).
What’s included #
Components are exported from package:rise_ui/rise_ui.dart (see lib/rise_ui.dart for the full list), including theme primitives, buttons, form controls, surfaces, overlays (dialog, bottom sheet, popover, menu), and feedback (alert, toast, skeleton, spinner).
Example app #
The repository includes a showcase app under example/. From that folder:
cd example && flutter pub get && flutter run
Repository & contributing #
- Source: github.com/talhademirbas/riseUI
- Issues / ideas: use GitHub Issues
Third-party attribution is summarized in THIRD_PARTY_NOTICES.md.
License #
MIT — see LICENSE.