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 provides different level of headings with various stylings such as divides, underline, light or hidden.

  • 1.0.12
  • Source
  • npm
  • Socket score

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

@paprika/heading

Description

Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.

Installation

yarn add @paprika/heading

or with npm:

npm install @paprika/heading

Props

Heading

PropTyperequireddefaultDescription
a11yTextstringfalsenullOptional aria text if it should be more descriptive than what is rendered
childrennodetrue-Heading content is required
displayLevel[ 1, 2, 3, 4, 5, 6]falsenullOptional display level(1-6) affects styles only
hasDividerboolfalsefalseHorizontal divider style
hasUnderlineboolfalsefalseUnderline style
isHiddenboolfalsefalseOptional, visually hide the header
isLightboolfalsefalseOptional, renders the children at a lighter font weight
isSemanticboolfalsetrueOptional, using
to avoid styles override by global css.
level[ 1, 2, 3, 4, 5, 6]true-Heading level(1-6) is required.

Usage

For a basic heading:

import Heading from "@paprika/heading";

<Heading level={1}>Heading One</Heading>;
  • Storybook Showcase
  • GitHub source code
  • Create GitHub issue
  • CHANGELOG

FAQs

Package last updated on 11 Dec 2021

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