
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@algolia/ui-library
Advanced tools
[](https://travis-ci.com/algolia/ui-library)
A set of shareable, reusable UI components for Algolia interfaces, built in React. Complete list available here: https://algolia-ui-library.netlify.com/.
Please read the detailed Migration guide for more details.
The goal of this library is to provide a set of React UI components that can be easily integrated into any Algolia project.
The design of these components is identical to the design found on algolia.com. The styles are using Algolia's custom version of Fragments.js.
npm install @algolia/ui-library --save
yarn add @algolia/ui-library
import React from 'react';
import { Button, Text } from '@algolia/ui-library';
const MyComponent = () => (
<div>
<Text>This is some text</Text>
<Button>This is a button</Button>
</div>
);
export default MyComponent;
For the CodeSample
component (located at src/components/CodeSample
), you'll need to generate static JSON files located at src/components/CodeSample/generatedHtml
in order to make it work with the smallest possible footprint: the library that handles syntax highlighting is heavy, that's why generating static JSON files prevents the client build from being too big.
To generate the static files, run:
yarn generate:codesample
If you want to contribute to this project:
yarn
or npm install
yarn storybook
or npm run storybook
Once you consider that the develop
branch holds enough changes to release a new version, here are the 5 steps to follow:
npm version [your_version]
. This will automatically:develop
have a look at the auto-generated CHANGELOG.md. Update some information manually if needed, commit and push it
create two PRs:
[your_version]
into develop
(this will update the package.json
version)[your_version]
into master
(this will update the Storybook).npm run deploy
to push the new release to npm.Important: don't delete your branch once merged. This will help keeping a clear history of previous changes.
Once you consider that the beta-vx
branch holds enough changes to release a new version, here are the 2 steps to follow:
bump the package.json version (last number)
run npm run version-beta
. This will automatically:
beta-vx
( x being your version number )FAQs
[](https://travis-ci.com/algolia/ui-library)
We found that @algolia/ui-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 84 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.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.