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

@synerise/ds-tooltip

Package Overview
Dependencies
Maintainers
0
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synerise/ds-tooltip

Tooltip UI Component for the Synerise Design System

  • 0.14.52
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

id: tooltip title: Tooltip

Tooltip UI Component

Tooltip

API

PropertyDescriptionTypeDefault
alignthis value will be merged into placement's config, please refer to the settings rc-tooltipObject-
arrowPointAtCenterWhether the arrow is pointed at the center of target, supported after antd@1.11+booleanfalse
autoAdjustOverflowWhether to adjust popup placement automatically when popup is off screenbooleantrue
buttonSettings of button displayed in tooltipButtonSettings-
defaultVisibleWhether the floating tooltip card is visible by defaultbooleanfalse
descriptiontooltip description textstring-
getPopupContainerThe DOM container of the tip, the default behavior is to create a div element in body()=>React.HTMLElement() => document.body
iconicon that can be displayed next to titleReact.ReactNodeNotificationsM, orange-500
mouseEnterDelayDelay in seconds, before tooltip is shown on mouse enternumber0.1
mouseLeaveDelayDelay in seconds, before tooltip is hidden on mouse leavenumber0.1
offsetsize of space between trigger and tooltip, you should set small when the you use Icon as a triggerdefault, smalldefault
onVisibleChangeCallback executed when visibility of the tooltip card is changed(visible: boolean) => void-
overlayClassNameClass name of the tooltip cardstring-
overlayStyleStyle of the tooltip cardobject-
placementThe position of the tooltip relative to the target.top / left / right / bottom / topLeft / topRight / bottomLeft / bottomRight / leftTop / leftBottom / rightTop / rightBottomtop
titletooltip title textstring-
triggerTooltip trigger modehover, focus, click, contextMenuhover
tutorialAutoplayWhether to autoplay tutorialbooleanfalse
tutorialAutoplaySpeedspeed of autoplay [ms]number5000
tutorialssteps of tutorialTutorials[]-
typetype of tooltipdefault / icon / largeSimple / largeScrollable / tutorial / avatar / button / header-label / statusdefault
visibleWhether the floating tooltip card is visible or notbooleanfalse
timeToHideAfterClicktime after which tooltip disappears [ms] (value 0 inactivate this functionality)number0
renderrender prop that allows to render custom component as tooltip() => React.ReactNode-

ButtonSettings

PropertyDescriptionTypeDefault
buttonIconIcon of buttonReact.ReactNode-
labelLabel of buttonReact.ReactNode / string-
onClickCallback executed after clicking the button() => void-

Tutorial

PropertyDescriptionTypeDefault
titletitle of tutorial stepstring / React.ReactNode-
descriptiondescription of tutorial stepstring / React.ReactNode-

FAQs

Package last updated on 04 Dec 2024

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