Skip to content

Proposal: Implement Live Component Preview #58097

@pikoscielniak

Description

@pikoscielniak

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

It would be helpful to have a live preview feature for components, similar to Android Compose. This would allow developers to see style changes immediately without needing to use the component in a larger application.

Proposed solution

For example, we could create a generic function like previewComponent. By passing dummy data for inputs, we could quickly see the component's rendering in a separate browser window. Any changes to the component's HTML or styles would be instantly reflected.

Alternatives considered

Do you think this feature would be valuable, and is it worth the development effort?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions