Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@leafygreen-ui/callout

Package Overview
Dependencies
Maintainers
0
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/callout

leafyGreen UI Kit Callout

latest
Source
npmnpm
Version
12.0.6
Version published
Weekly downloads
3.6K
22%
Maintainers
0
Weekly downloads
 
Created
Source

Callout

npm (scoped)

View on MongoDB.design

Installation

PNPM

pnpm add @leafygreen-ui/callout

Yarn

yarn add @leafygreen-ui/callout

NPM

npm install @leafygreen-ui/callout

Example

<Callout variant={Variant.Note} title="Title">
  Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  Lorem Ipsum has been the industrys standard dummy text ever since the 1500s,
  when an unknown printer took a galley of type and scrambled it to make a type
  specimen book.
</Callout>

Properties

PropTypeDescriptionDefault
variant'note', 'tip', 'important', 'warning', 'example'Sets the variant for the Callout
childrennodeThe contents to display within the Callout
titlestringOptional title text to display above Callout text
classNamestringAdds a className to the outermost element
baseFontSize13, 16Determines font-size for body copy in Callout component13
darkModebooleanDetermines if the component renders in dark themefalse

FAQs

Package last updated on 25 Sep 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