WSO2 Oxygen UI Icons - Powered with Lucide icons library
npm install @wso2/oxygen-ui-icons-reactWSO2 Oxygen UI Icons library - Powered by Lucide Icons.
This package provides a comprehensive set of icons for use in WSO2 Oxygen UI applications, including all Lucide icons plus custom WSO2-specific icons.
``bash`
pnpm add @wso2/oxygen-ui-icons-react
Import icons directly from the package:
`jsx
import { Bell, Search, User, WSO2 } from '@wso2/oxygen-ui-icons-react';
function MyComponent() {
return (
Icon Properties
All icons support the standard Lucide React props:
-
size - Icon size in pixels (default: 24)
- color - Icon color (default: currentColor)
- strokeWidth - Stroke width (default: 2)
- absoluteStrokeWidth - Use absolute stroke width
- className - CSS class name
- style - Inline stylesAvailable Icons
This package includes:
$3
Browse the complete collection at lucide.dev/icons$3
- WSO2 - WSO2 logo icon
- And other WSO2-specific branding iconsExample with Material-UI
`jsx
import { IconButton } from '@wso2/oxygen-ui';
import { Settings, LogOut } from '@wso2/oxygen-ui-icons-react';function Toolbar() {
return (
);
}
`TypeScript Support
This package includes TypeScript definitions for all icons.
`tsx
import { LucideIcon } from '@wso2/oxygen-ui-icons-react';interface MyIconProps {
Icon: LucideIcon;
label: string;
}
function MyIcon({ Icon, label }: MyIconProps) {
return (
{label}
);
}
`Tree Shaking
This package is optimized for tree shaking. Import only the icons you need to keep your bundle size small:
`jsx
// ✅ Good - only imports what you need
import { Bell, Search } from '@wso2/oxygen-ui-icons-react';// ❌ Bad - imports everything
import * as Icons from '@wso2/oxygen-ui-icons-react';
``See the main Oxygen UI repository for license information.
See the main Oxygen UI repository for contribution guidelines.