Socket
Book a DemoInstallSign in
Socket

@planview/pv-toolbar

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-toolbar

Implementation of Planview Design system toolbar

latest
Source
npmnpm
Version
1.14.2
Version published
Weekly downloads
462
-32.75%
Maintainers
7
Weekly downloads
 
Created
Source

@planview/pv-toolbar

React implementation of Planview Design System Toolbar following the specification.

Go to the official documentation for more details

Setup

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

  • With NPM
npm install @planview/pv-toolbar --save
  • With Yarn
yarn add @planview/pv-toolbar

Usage

import * as React from 'react'
import {
    Toolbar,
    ToolbarButtonEmpty,
    ToolbarButtonPrimary,
    ToolbarButtonDestructive,
    ToolbarSectionLeft,
    ToolbarSectionRight,
    ToolbarSeparator
} from '@planview/pv-toolbar'

function MyToolbarImplementation {
    return (
       <Toolbar>
            <ToolbarSectionLeft>
                <ToolbarButtonEmpty
                    onClick={() => setCurrentValue('hit button filter')}
                    icon={<Filter />}
                    tooltip="Filter"
                    aria-label="Filter"
                />
                <ToolbarSeparator />
                <ToolbarButtonDestructive
                    icon={<Activity />}
                    onClick={() => {
                        setCurrentValue('hit button activity')
                    }}
                >
                    Activity
                </ToolbarButtonDestructive>
            </ToolbarSectionLeft>
            <ToolbarSectionRight>
                <ToolbarButtonPrimary
                    onClick={() => setCurrentValue('hit button help')}
                    tooltip="Help"
                    displayOn="desktop"
                    icon={<Help />}
                />
                <ToolbarButtonEmpty
                    onClick={() => setCurrentValue('hit button resize')}
                    tooltip="Resize"
                    displayOn="desktop"
                    icon={<ResizeFull />}
                />
            </ToolbarSectionRight>
        </Toolbar>
    )
)

Keywords

planview

FAQs

Package last updated on 23 Jun 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