New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@elemental-ui-alpha/cluster

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elemental-ui-alpha/cluster

The cluster primitive is used to layout items that wrap within a parent container.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

Cluster

import { Cluster } from '@elemental-ui-alpha/Cluster';

Align

The align property defines the alignment of items on the vertical axis:

  • center
  • end
  • start
  • stretch (default)
<Cluster align="end">
  <Box background="shade" height={50} width={20} />
  <Box background="dim" height={150} width={20} />
  <Box background="shade" height={100} width={20} />
</Cluster>

Gap

The gap property defines how much space there should be between each element. Available gap sizes are:

  • none (default)
  • xsmall
  • small
  • medium
  • large
  • xlarge
<Cluster gap="medium">
  <Box background="shade" padding="xlarge" width={200} />
  <Box background="shade" padding="xlarge" width={100} />
  <Box background="shade" padding="xlarge" width={50} />
  <Box background="shade" padding="xlarge" width={100} />
  <Box background="shade" padding="xlarge" width={300} />
  <Box background="shade" padding="xlarge" width={100} />
  <Box background="shade" padding="xlarge" width={200} />
  <Box background="shade" padding="xlarge" width={50} />
  <Box background="shade" padding="xlarge" width={100} />
  <Box background="shade" padding="xlarge" width={100} />
</Cluster>

FAQs

Package last updated on 24 Apr 2020

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