OfficeDev/office-ui-fabric-core

Include icons in package

Opened this issue ยท 6 comments

Is there a way to include the icons in the package, even if for an alternate download file? As a developer that create apps on a network that doesn't have access to the Internet, I'm not able to use the icons as it is right now. Maybe I'm missing something. Thanks for your time.

@Jahnp Do you know if we could distribute a copy of the icon font in Fabric Core? I recall us getting legal clearance for developers to host these files themselves for offline/on-prem applications, but right now they have to sleuth around and use the network tools to locate the fonts on the CDN and download a copy.

Jahnp commented

Generally, yes, this should be allowable--but so we know a little more about the scenario, what kind of apps are you building/do you have in mind? Commercial apps distributed on a store? LOB apps running on-prem?

As far as I know, this usage is not prohibited according to the Fabric assets license agreement. What is important is that 1.) the license is included alongside the icon file, and 2.) usage of the icons in the app adheres to the guidelines called out in the later section of the license.

I'm going to go ahead and close this for now, but feel free to let us know if you need more information.

I'll reopen this, as a reminder to add the fonts and license to this repo. That will make it easier for developers to deploy them to their own servers, as we've had questions before about where to get them from.

To give more context, my team is building a SharePoint Add-in solution using UI Fabric. We're Federal Gov agency with no access to the Internet. The solution is not intended for profit, but for gov.

My use case is similar: A government agency that does not allow calls to the internet.

@mikewheaton - happy to see this is being added.

I'd like to include the icons as an offline version in BaGetter, a fork of the BaGet open source NuGet server.

BaGet has had loic-sharma/BaGet#649 opened for quite some time, as this server is used for internal NuGet hosting and therefore does not rely on an active internet connection. This should include the icons if possible.

Edit: We currently include the lib via libman. It would be nice to simply append a suffix like -offline to the package in the libman.json and get the version with icons included.