Skip to content

proposal: Add LibraryComponent primitive to Flutter #187219

Description

@mtwichel

Document Link

https://flutter.dev/go/introduce-component-library

What problem are you solving?

Flutter developers building advanced, dynamic user interfaces—such as runtime layout translation for Generative UI (e.g., genui) or visual component playgrounds (e.g., widgetbook)—lack a standardized framework primitive to natively group and catalog a cohesive collection of widgets. Consequently, package authors must reinvent custom wrappers for annotating widgets in design systems, including semantic information (like widget description) and parameters. For example:

This structural fragmentation forces application developers to maintain redundant, boilerplate translation layers to map the exact same corporate design system across different toolsets, reducing ecosystem interoperability. This problem could become more predominant as Flutter moves to decouple Material and Cupertino from the core framework repository, which could lead to more custom design systems being adopted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    📜Issue was posted to Discord. Remove to have the issue reannounced. (For "design doc", "emergency")P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterdesign docTracks a design discussion documentframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions