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

@paprika/heading

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paprika/heading

Heading component

  • 0.3.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-60.56%
Maintainers
3
Weekly downloads
 
Created
Source

Heading

The <Heading> component provides six different levels of heading with various stylings such as divider, underline, light or hidden.

It is rendered as a <h> tag by default, but can also be rendered as a generic <div>. Set isSemantic to false if there are global CSS conflicts.

Installation

> npm install --save @paprika/heading or > yarn add @paprika/heading

Usage

For a basic heading

import Heading from "@paprika/heading";

<Heading level={1}>Heading One</Heading>;

Or a styling of headings with divider, hasUnderline, isLight, or isHidden

import Heading from "@paprika/heading";

<Heading level={1} hasDivider>
  Heading One With divider
</Heading>;

Props

  • a11yText
  • children
  • displayLevel
  • domRef
  • hasDivider
  • hasUnderline
  • isHidden
  • isLight
  • isSemantic
  • level

More detail about these props

FAQs

Package last updated on 07 Feb 2020

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