Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@paprika/heading
Advanced tools
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
yarn add @paprika/heading
or with npm:
npm install @paprika/heading
Prop | Type | required | default | Description |
---|---|---|---|---|
a11yText | string | false | null | Optional aria text if it should be more descriptive than what is rendered |
children | node | true | - | Heading content is required |
displayLevel | [ 1, 2, 3, 4, 5, 6] | false | null | Optional display level(1-6) affects styles only |
hasDivider | bool | false | false | Horizontal divider style |
hasUnderline | bool | false | false | Underline style |
isHidden | bool | false | false | Optional, visually hide the header |
isLight | bool | false | false | Optional, renders the children at a lighter font weight |
isSemantic | bool | false | true | Optional, using to avoid styles override by global css. |
level | [ 1, 2, 3, 4, 5, 6] | true | - | Heading level(1-6) is required. |
For a basic heading:
import Heading from "@paprika/heading";
<Heading level={1}>Heading One</Heading>;
FAQs
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
We found that @paprika/heading demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.