Socket
Socket
Sign inDemoInstall

@ag.ds-next/callout

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag.ds-next/callout

--- title: Callout description: Callouts are an excerpt of text or an article that has been pulled out and used as a visual clue to draw the eye to the text. They are used to help direct a user's attention to important pieces of information. group: Conten


Version published
Weekly downloads
6
increased by200%
Maintainers
3
Weekly downloads
 
Created
Source

title: Callout description: Callouts are an excerpt of text or an article that has been pulled out and used as a visual clue to draw the eye to the text. They are used to help direct a user's attention to important pieces of information. group: Content storybookPath: /story/layout-callout--on-light

Default

Use callout to notify and alert users of important snippets of information.

<Callout title="Callout heading">
	<Text as="p">Description of the callout.</Text>
</Callout>

Callout heading screen reader only

A callout with a heading that can be read by screen readers. Markup for the title is included for screen reader users.

<Callout>
	<VisuallyHidden>
		<h2>Title of the callout</h2>
	</VisuallyHidden>
	<Text as="p">Description of the callout</Text>
</Callout>

Calendar

Use a calendar callout to notify and alert users of important dates and events.

<Callout as="section">
	<Flex flexDirection="column">
		<VisuallyHidden>
			<h2>Description of the callout</h2>
		</VisuallyHidden>
		<Text as="p">The next public holiday is:</Text>
		<Text
			as="time"
			fontSize="xl"
			fontWeight="bold"
			datetime="2017-01-01T00:00:00+00:00"
		>
			Sunday 1 January
		</Text>
		<Text>New Year’s Day</Text>
	</Flex>
</Callout>

FAQs

Package last updated on 15 Jun 2022

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