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

@nest-ui/coachmark

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

@nest-ui/coachmark

NEST Coachmark

  • 0.0.2-beta.1
  • beta
  • npm
  • Socket score

Version published
Weekly downloads
29
decreased by-23.68%
Maintainers
2
Weekly downloads
 
Created
Source

Nest Coachmark

React UI library for marketplace created by Nest design team.

Getting Started

$ npm i @nest-ui/coachmark

Basic usage

import { Coachmark } from '@nest-ui/coachmark';
import { Button } from '@nest-ui/core';
import { useRef, useState } from 'react';

const Basic = () => {
  const target = useRef<HTMLButtonElement>(null);
  const [show, setShow] = useState(false);

  const showCoachmark = () => {
    setShow(true);
  };

  return (
    <>
      <Button ref={target} onClick={showCoachmark}>
        Show Coachmark
      </Button>
      {show && (
        <Coachmark onClose={setShow}>
          <Coachmark.Item css={{ width: 320, maxWidth: 'calc(100vw - 32px)' }} target={() => target.current}>
            Single coachmark item will be displayed as a simple coachmark.
          </Coachmark.Item>
        </Coachmark>
      )}
    </>
  );
};

export default Basic;

Showcase

Comming soon...

Future ideas

TBH...

FAQs

Package last updated on 05 Dec 2023

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