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

@wedgekit/primitives

Package Overview
Dependencies
Maintainers
16
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wedgekit/primitives

Primitives are the building blocks of WedgeKit components. They are largely settings or wrapper components designed for keeping all WedgeKit components consistent in a composable and discoverable way.

  • 1.13.3
  • npm
  • Socket score

Version published
Maintainers
16
Created
Source

WedgeKit Primitives

Primitives are the building blocks of WedgeKit components. They are largely settings or wrapper components designed for keeping all WedgeKit components consistent in a composable and discoverable way.

Usage

yarn add @wedgekit/primitives

Base primitives like Row and Gutter should largely be avoided outside of building WedgeKit components, while Layout should be used for wider grid usage.

Gutter

Gutter provides a consistent row gutter for elements and should wrap all base WedgeKit components.

const Button = () => (
  <Gutter>
    <button>Click Me</button>
  </Gutter>
);

Row

Row provides a consistent column gutter for elements and can wrap a composition of base WedgeKit components.

const Notification = () => (
  <Row>
    <Input />
    <Button>Send</Button>
  </Row>
);

Settings

The default export for @wedgekit/primitives is the primitive settings. At this time the only exported variable is base.

FAQs

Package last updated on 25 Jun 2021

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