1.1.0 • Published 9 months ago

solar-icon-react v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Solar Icon Set React Library

This is a React icon library for the Solar Icon Set, a large icon library consisting of modern pictograms with smooth corners.

Installation

To install the library:

npm install solar-icon-react

Usage

To use an icon from the library, import it into your React component. Here's an example:

import React from 'react';
import { BoNotificationRemove } from 'solar-icon-react/bo';

const MyComponent = () => {
    return (
        <div>
            <BoNotificationRemove className="w-6 h-6 text-red-500" />
        </div>
    );
};

export default MyComponent;

Compatibility

The icons in this library are compatible with react-icons' IconType type.

Icon Modules

The library is structured into modules based on icon categories. Each module has its own directory and can be imported separately to reduce bundle size. The available modules and their abbreviations are:

  • Bold: Bo
  • Bold Duotone: Bd
  • Broken: Br
  • Line Duotone: Ld
  • Linear: Li
  • Outline: Ol

For example, to use a Bold icon, import it from the bo module:

import { BoNotificationRemove } from 'solar-icon-react/bo';

License

This project is licensed under the MIT License. See the LICENSE file for more details.

The icons used in this project are from the "Solar Icon Set" and are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Icon Credits:
Solar Icon Set by 480 Design
Source: Solar Icon Set Figma Community
License: CC BY 4.0

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

1.1.0

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago