
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@ferui/components
Advanced tools
Install Ferui Icons package through npm:
npm install @ferui/icons
npm install --save @webcomponents/custom-elements
Install Ferui Design package through npm:
npm install @ferui/design
Install the Ferui Components angular package through npm:
npm install @ferui/angular
npm install --save intersection-observer
npm install @ferui/icons @webcomponents/custom-elements @ferui/design @ferui/angular
Import the FeruiModule into your Angular application's module. Your application's main module might look like this:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FeruiModule } from '@ferui/components';
import { AppComponent } from './app.component';
@NgModule({
imports: [
BrowserModule,
FeruiModule,
....
],
declarations: [ AppComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule { }
Include the ferui-icons.min.js
in your HTML file (don't forget the custom-elements polyfill) :
<script src="path/to/node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
<script src="path/to/node_modules/@ferui/icons/ferui-icons.min.js"></script>
You can either add the compiled css files or the precompiled scss files directly to your project.
ferui-design.min.css
and ferui-icons.min.css
files in your HTML file:<link rel="stylesheet" href="path/to/node_modules/@ferui/design/ferui-design.min.css">
<link rel="stylesheet" href="path/to/node_modules/@ferui/icons/ferui-icons.min.css">
...
@import "custom";
// This will import everything from FerUI design.
@import '@ferui/design/ferui-design';
// This will load all the style for icons from FerUI Icons.
@import '@ferui/iconss/ferui-icons';
...
~@ferui/design/
to load only the components that you need....
{
test: /\.(scss)$/,
use: [{
loader: 'style-loader', // inject CSS to page
}, {
loader: 'css-loader', // translates CSS into CommonJS modules
}, {
loader: 'postcss-loader', // Run postcss actions
options: {
plugins: function () { // postcss plugins, can be exported to postcss.config.js
return [
require('autoprefixer')
];
}
}
}, {
loader: 'sass-loader' // compiles Sass to CSS
}]
},
...
FAQs
Angular components for FerUI Project
We found that @ferui/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.