Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@infinium/hydro

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinium/hydro

A fliud set of React components.

  • 2.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Hydro

Hydro is a set of general, fluid React components. It's like mini UI kit.

  • Live demo
  • Sandbox link

To learn how to use Hydro, read the wiki.

Installation

yarn add @infinium/hydro

or

npm install @infinium/hydro

Usage

First, import the global stylesheet:

import '@infinium/hydro/dist/style.css';

Now, just import any component as you need it.

import { Button } from '@infinium/hydro';

const App = () => (
	<Button>Click me</Button>
);

Features

  • Built-in, working components by default.
  • Excellent conformity to accessibility. Every component, within reason, is usable directly from the keyboard.
  • Standard keyboard events are on by default. For instance, using esc to close a Modal.
  • Beautiful (in our opinion) default styles, with excellent support for altering the variants, etc. of each component.
  • Excellent, usable defaults

Components

All of the components are written in TypeScript. Moreover, each of the component prop types are exported individually. If you want to extract the props to an object, you can do so like:

import type { TButton } from '@infinium/hydro';

const buttonProps: TButton = {
	// ...
}

If you're not using TypeScript, you can read the wiki to learn about each component.

FAQs

Package last updated on 30 Mar 2022

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