@oracle/oraclejet-preact-icons
TypeScript icon, indicating that this package has built-in type declarations

18.1.5 • Public • Published

@oracle/oraclejet-preact-icons

This package contains all of the Redwood icons available as Preact components.

Usage

Import the icons using the form

import { Accessibility } from '@oracle/oraclejet-preact-icons/UNSAFE_RedwoodIcons/Accessibility';

And use them in your Preact app with

<div><Accessibility accessibleLabel={"My accessible label"} /></div>

Bundlers

Depending on the bundler you use, importing and resolving the icons should just work, however, there are older bundlers that may need some additional configuration.

For instance, Webpack 4 will require additional mappings to locate the code:

module.exports = {
  resolve: {
    alias: {
      '@oracle/oraclejet-preact-icons': '@oracle/oraclejet-preact-icons/es',
      '@oracle/oraclejet-preact/UNSAFE_Icon$': '@oracle/oraclejet-preact/es/UNSAFE_Icon.js',
      '@oracle/oraclejet-preact': '@oracle/oraclejet-preact/es'
    }
  }
};

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
18.1.52latest

Version History

VersionDownloads (Last 7 Days)Published
18.1.52
18.1.40
18.0.90
18.0.80
18.1.31
18.1.20
18.1.10
18.0.70
17.1.70
18.1.00
18.0.60
18.0.50
18.0.40
17.1.60
17.0.100
18.0.30
18.0.20
17.1.50
17.0.90
18.0.10
18.0.00
17.1.40
17.0.80
17.1.30
17.1.20
17.0.70
17.1.10
16.1.80
16.0.120
17.0.60
17.1.00
17.0.50
16.1.70
16.0.110
17.0.40
17.0.30
17.0.20
17.0.10
16.1.60
16.0.100
17.0.00
16.1.40
16.1.30
16.0.80
16.1.20
16.0.70
16.1.10
16.1.00
16.0.60
16.0.50
16.0.40
16.0.30
16.0.20
16.0.10
16.0.00

Package Sidebar

Install

npm i @oracle/oraclejet-preact-icons

Weekly Downloads

3

Version

18.1.5

License

none

Unpacked Size

14.4 MB

Total Files

15350

Last publish

Collaborators

  • blm7
  • peppertech
  • kentarokinebuchi
  • jingwu
  • papawuski
  • manish2788
  • murselva
  • gek1