New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@algolia/ui-library

Package Overview
Dependencies
Maintainers
26
Versions
737
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/ui-library

[![Build Status](https://travis-ci.com/algolia/ui-library.svg?token=xHy4ydCZHetFCp5sscyv&branch=develop)](https://travis-ci.com/algolia/ui-library)

  • 1.0.0-beta.2
  • npm
  • Socket score

Version published
Weekly downloads
640
decreased by-30.28%
Maintainers
26
Weekly downloads
 
Created
Source

Algolia UI library

Build Status

A set of shareable, reusable UI components for Algolia interfaces, built in React. Complete list available here: https://algolia-ui-library.netlify.com/.

Purpose

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.css.

Usage

  1. Run one of the following commands in your project, depending on your package manager:
npm install @algolia/ui-library --save

yarn add @algolia/ui-library
  1. Use the UI components like this:
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;

Contributing

  • Clone the repository
  • Install all dependencies: yarn or npm install
  • Launch Storybook: yarn storybook or npm run storybook

Releases

Once you consider that the develop branch holds enough changes to release a new version, here are the 3 steps to follow:

  • run npm version [your_version]. This will automatically:
    • checkout develop
    • create a branch named with the version number
    • update the version number
    • push it to Github.
  • create two PRs:
    • one to merge [your_version] into develop (this will update the package.json version)
    • the other one to merge [your_version] into master (this will update the Storybook).
  • run npm publish 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.

FAQs

Package last updated on 15 Oct 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc