shad
1.0.2, released 3 weeks ago by serverpod.dev
A Flutter port of shadcn/ui with 40+ components and no Material dependency.
What it does
Provides a comprehensive set of standalone UI components styled after shadcn/ui. It includes its own theming engine, multiple style presets, and color schemes without relying on Material or Cupertino packages.
AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want the shadcn/ui aesthetic in your Flutter application.
- You want to build an app with no Material or Cupertino dependencies.
Skip it when
- You rely heavily on standard Material Design widgets and behaviors out of the box.
- You need complex components like native navigation menus or charts that are not yet implemented.
Strengths
- No dependency on Material or Cupertino by default
- Rich collection of 40+ styled components
- Flexible theming with multiple built-in styles and color schemes
Weaknesses
- Some shadcn/ui components (like navigation menus and charts) are not yet available
- Requires opt-in interop if you want to mix standard Material or Cupertino widgets
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 11
Add the dependency to pubspec.yaml and wrap your app in ShadApp.
import 'package:flutter/widgets.dart';
import 'package:shad/shad.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return ShadApp(
theme: ShadThemeData(
brightness: Brightness.light,
colorScheme: const ShadZincColorScheme.light(),
style: ShadStyleTokens.nova,
),
home: const Center(child: Text('Hello Shad')),
);
}
}Alternatives
Packages that do the same job and could replace shad.
- material_ui
If your project requires standard Material Design components.
94Compare - cupertino_ui
If your project targets Apple platforms and requires native iOS Cupertino styling.
93Compare
Works with
Packages commonly used together with shad: ones it builds on, ones built on it, and its own family.
- webshad depends on itLightweight bindings for browser APIs via JS interop
- intlshad depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- flutter_animateshad depends on itAdd animated effects and builders in Flutter via a unified, customizable chainable API.
- lucide_icons_fluttershad depends on itA Flutter package exposing the Lucide icon set with multiple stroke weights and RTL support.
- slangshad depends on itType-safe i18n solution generating Dart translation classes from JSON, YAML, CSV, or ARB files
- slang_fluttershad depends on itFlutter support for the slang localization library.
- two_dimensional_scrollablesshad depends on itWidgets for two‑dimensional scrolling like TableView and TreeView
- theme_extensions_builder_annotationshad depends on itAnnotations for generating boilerplate code for Flutter ThemeExtension classes.