Skip to content

mojocss/mojocss-remixicon-capsule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remix Icon for Mojo CSS

This capsule allows you to easily integrate RemixIcon, a popular icon library, into your Mojo CSS projects.

Usage

NPM

  1. Install the capsule package via npm:
npm install @mojocss/remixicon
  1. Import the remixiconCapsule function from the installed package:
import remixiconCapsule from "@mojocss/remixicon";
  1. Add the capsule to your Mojo config:
mojo({
  // Mojo CSS Config
  capsules: [remixiconCapsule],
});

Alternatively, you can configure specific options:

mojo({
  // Mojo CSS Config
  capsules: [
    {
      capsule: remixiconCapsule,
      options: {
        version: "5.3.2", // remixicon version
      },
    },
  ],
});

CDN

<script src="https://unpkg.com/@mojocss/remixicon"></script>

and then

mojo({
  // Mojo CSS Config
  capsules: [remixiconCapsule],
});

Usage

After importing the capsule, you can use its icons in your HTML markup:

<i class="ri-heart-fill"></i>

Additional Information

About

This capsule allows you to easily integrate RemixIcon, a popular icon library, into your Mojo CSS projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published