
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
bpk-component-breadcrumb
Advanced tools
Backpack breadcrumb component.
npm install bpk-component-breadcrumb --save-dev
import React, { Component } from 'react';
import BpkBreadcrumb, { BpkBreadcrumbItem } from 'bpk-component-breadcrumb';
export default class App extends Component {
render() {
return (
<BpkBreadcrumb label="breadcrumb">
<BpkBreadcrumbItem href="/">Home</BpkBreadcrumbItem>
<BpkBreadcrumbItem href="/page-1">Page 1</BpkBreadcrumbItem>
<BpkBreadcrumbItem active>
Page 2
</BpkBreadcrumbItem>
</BpkBreadcrumb>
);
}
}
JSON-LD schema mark up can be used to
add structured data
to the component to improve the SEO of the component through the schemaMetaData
property.
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
label | string | true | - |
schemaMetaData | array({url: string, label: string}) | false | null |
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
href | string | false | null |
active | bool | false | false |
linkProps | object | false | null |
FAQs
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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.