
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@economist/fabric-components
Advanced tools
These are a set of Components for exclusive usage by The Economist Group. For documentation and migration guides visit here. A few bigger set of components are served via their own npm packages, you can find the fabric-carousel at https://github.com/EconomistDigitalSolutions/fabric-carousel
npm install @economist/fabric-components
A sample implementation would be:
import React from "react";
import HeadEcon from "@economist/fabric-components/header/headecon/HeadEcon";
const App = () => {
return (
<div>
<HeadEcon />
</div>
);
};
export default App;
We have a handy script set up that you can use to create components. It can be invoked directly from the scripts folder or via npm
npm run new
The bash script will ask for category; if a category does not exist, it will create it for you. After you have a provided a category, bash will ask you to name the component, it will capitalise the first letter for you, see naming conventions below for more information. Once you provide it with component name, you will get three files, namely, "Component.jsx", "component.test.js", "component.md".
All new components should have prop-types, and atleast one test written. If a component has a lot of functionalities, make sure that they are tested as well. Finally, feel free to illustrate the usage of component and add in relevant information in the markdown file.
Feel free to create your components manually, though make sure to follow our naming conventions and directory conventions which are as follows :
Once you have created your component, do make sure to add it to the relevant categories index.js as an export.
For Component suggestions, please look into Suggestions.
Follow the below mentioned guidelines for filing component suggestions.
For further support in using, and any questions should be addressed to Aaditya Sahay
FAQs
A Component library made for consumption by Fabric team.
We found that @economist/fabric-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 134 open source maintainers 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.