Skip to content

Create and migrate to custom <Icon> component in Markdown #12742

@parlough

Description

@parlough

Create a new <Icon> component that can be used from Markdown content loaded with Jaspr Content. Then migrate content across the site that uses icons with manual HTML to the new component.

It should:

  • Use the existing MaterialIcon Jaspr Component if possible.
  • Require an icon id.
  • Require a label for accessibility.
  • Accept an optional size parameter.
  • Accept an optional filled parameter (defaults to false).
  • Accept an optional class parameter for additional customizability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infra.designRelates to the design of docs.flutter.devinfra.structureRelates to the tools that create docs.flutter.devp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions