🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@planview/pv-utilities

Package Overview
Dependencies
Maintainers
7
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planview/pv-utilities

Set of shared utilities from Planview's Design System

4.22.2
latest
Source
npm
Version published
Weekly downloads
1.1K
0.56%
Maintainers
7
Weekly downloads
 
Created
Source

@planview/pv-utilities

Implementation of Planview Design System Utilities following the specification.

Go to the official documentation for more details

Setup

You can install @planview/pv-utilities in multiple ways:

  • With NPM
npm install styled-components --save # peerDependency
npm install @planview/pv-utilities --save
  • With Yarn
yarn add styled-components # peerDependency
yarn add @planview/pv-utilities

Usage

import React from 'react'
import styled from 'styled-components'
// Set of elemental, reusable styles such as colors, sizes, spacing, text...
import { color, size } from '@planview/pv-utilities'

// You can use pv-utilities with a styled component...
const StyledButton = styled.div`
    background-color: ${color.greenRegular};
`

function Component() {
    return (
        // ...or with a regular dom element
        <div style={{ padding: `${spacing.small}px` }}>
            <StyledButton>Click me</StyledButton>
        </div>
    )
}

Keywords

planview

FAQs

Package last updated on 16 May 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