Skip to content
pubscout

cupertino_ui

1.1.7, released 4 days ago by flutter.dev

Official Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.

WASM-ready
$ flutter pub add cupertino_ui
Source repository

What it does

Provides a complete suite of iOS- and macOS-style visual components, motion, typography, color systems, and theming tools for Flutter applications. It was decoupled from the core Flutter framework into a standalone package.

AI-written summary of version 1.1.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building an iOS- or macOS-styled application or experience in Flutter
  • Migrating existing code from legacy flutter/cupertino.dart to the standalone package

Skip it when

  • Building an application exclusively using Material Design
  • Needing platform-agnostic or cross-platform custom UI kits

Strengths

  • Official Flutter implementation of Apple's Human Interface Guidelines
  • Complete suite of visual components, navigation, inputs, pickers, and dialogs
  • Includes compatibility bridging for legacy dependencies

Weaknesses

  • Requires migration steps if coming from legacy framework-integrated cupertino widgets
  • Limited to Cupertino/Apple design aesthetics

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Run flutter pub add cupertino_ui and use dart fix to migrate imports.

import 'package:cupertino_ui/cupertino_ui.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const CupertinoApp(
      home: CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(
          middle: Text('Home'),
        ),
        child: Center(
          child: Text('Hello Cupertino'),
        ),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace cupertino_ui.

  • shad

    A Flutter port of shadcn/ui with 40+ components and no Material dependency.

  • fluttersdk_wind

    Utility‑first Tailwind‑style styling for Flutter using className strings.

  • coconut_design_system

    Reusable UI component library for Flutter with theme-aware components and built-in animations.

  • optimus

    A design system providing reusable UI components for Flutter mobile and web.

Works with

Packages commonly used together with cupertino_ui: ones it builds on, ones built on it, and its own family.