Skip to content

formrausch/remixicons_elixir

 
 

Repository files navigation

logo

This library provides optimized svgs for each Remix Icon packaged as a Phoenix Component.

Remix Icons are open-source neutral-style system symbols elaborately crafted for designers and developers. All of the icons are free for both personal and commercial use.

Current Remix Icon Version: 4.6.0.

Installation

Add Remix Icon to your mix.exs:

defp deps do
  [
    {:remixicon, "~> 0.1.1"}
  ]
end

After that, run mix deps.get.

Usage

The components are provided by the Remixicon module. Each icon is a Phoenix Component you can use in your HEEx templates. For example:

<Remixicon.github_line />
<Remixicon.github_fill />

You can also pass arbitrary HTML attributes to the components, such as classes:

<Remixicon.github_line class="w-4 h-4" />
<Remixicon.github_fill class="w-4 h-4" />

For a full list of icons see remixicon.com.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Phoenix components for Remixicons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Elixir 100.0%