Socket
Book a DemoInstallSign in
Socket

@hundred5/design-system

Package Overview
Dependencies
Maintainers
7
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hundred5/design-system

Collection of common components used in Hundred5 web apps

1.41.18
latest
npmnpm
Version published
Weekly downloads
1.1K
236.51%
Maintainers
7
Weekly downloads
 
Created
Source

Hundred5 Design System

This repository contains the components that are common across different Hundred5 web applications implemented in React. These are UI elements such as forms, buttons, modals, alerts etc.

The components are using React and Emotion for styling. TypeScript is used, however type definitions for Flow are also provided.

Installation

yarn add @hundred5/design-system

This package has peer dependencies, so make sure that react, react-dom and react-modal are installed as well.

Usage

import { AlphaButton } from "@hundred5/design-system";

const MyComponent = () => <AlphaButton color="blue">Click me!</AlphaButton>;

For examples of each component check the story files stored next to component files.

Development

This project uses Storybook. You can start it with yarn start.

Publishing to npm

This project uses semantic versioning:

  • If a bug is fixed without changing any component props, bump the patch version.
  • If you add props to a component or add new components, bump the minor version.
  • If you remove or change props in a component or remove components, bump the major version.

Source files are automatically compiled to JavaScript before publishing to npm, so simply running npm publish --access public should work.

The build script does two things:

  • Compiles TypeScript files with Babel to JavaScript. It is easier to use Babel instead of TypeScript compiler as the Emotion Babel plugin must be used to process CSS-in-JS.
  • Generates TypeScript definiton files with the TypeScript compiler, so that the package can be used in TypeScript apps without losing type information.

FAQs

Package last updated on 29 Aug 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.