Skip to content

RFC: Feather SVG Icon System #101

@colebemis

Description

@colebemis

This is a place to discuss how to best implement an SVG Icon System for Feather. This is a continuation of the discussions in #47 and #41. The goal of this thread is to define a usage spec for Feather.

Here's the consensus so far:

  • The icons directory should remain the single source of truth.
  • An SVG sprite sheet should be generated from the icons directory.
  • Feather should expose an icons object to make the NPM package more useful.
  • Feather should provide a way to inject SVGs into the DOM with JavaScript. This would allow for the use of a CDN making it easier to prototype with Feather icons.
  • Feather should provide integration with popular JS frameworks like React and Vue through separate packages (react-feather, vue-feather, etc.).

Related reading:

Other SVG icon systems:

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