πŸš€ DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

@snack-uikit/breadcrumbs

Package Overview
Dependencies
Maintainers
3
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snack-uikit/breadcrumbs

Source
npmnpm
Version
0.11.25-preview-419c2a77.0
Version published
Maintainers
3
Created
Source

Breadcrumbs

Installation

npm i @snack-uikit/breadcrumbs

Changelog

Breadcrumbs

ΠšΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚ Ρ…Π»Π΅Π±Π½Ρ‹Ρ… ΠΊΡ€ΠΎΡˆΠ΅ΠΊ

Props

nametypedefault valuedescription
items*Item[]-Массив Π°ΠΉΡ‚Π΅ΠΌΠΎΠ²
classNamestring-CSS-класс
separatorstring"β€Ί"Π Π°Π·Π΄Π΅Π»ΠΈΡ‚Π΅Π»ΡŒ
sizeenum Size: "xs", "s"sΠ Π°Π·ΠΌΠ΅Ρ€
firstItemIconOnlybooleanfalseΠ˜ΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ ΠΈΠΊΠΎΠ½ΠΊΡƒ Π±Π΅Π· Π»Π΅ΠΉΠ±Π»Π° Π² ΠΏΠ΅Ρ€Π²ΠΎΠΌ Π°ΠΉΡ‚Π΅ΠΌΠ΅
inactiveLastItembooleanfalseΠ”Π΅Π»Π°Π΅Ρ‚ Π½Π΅ΠΊΠ»ΠΈΠΊΠ°Π±Π΅Π»ΡŒΠ½Ρ‹ΠΌ послСдний элСмСнт, Π΄Π°ΠΆΠ΅ Ссли для Π½Π΅Π³ΠΎ ΠΏΠ΅Ρ€Π΅Π΄Π°Π½Ρ‹ href ΠΈΠ»ΠΈ onClick
lastEmptyboolean-

Массив ΠΎΠ±ΡŠΠ΅ΠΊΡ‚ΠΎΠ², ΠΎΠΏΠΈΡΡ‹Π²Π°ΡŽΡ‰ΠΈΡ… ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚:

type Item = {
  /* Π£Π½ΠΈΠΊΠ°Π»ΡŒΠ½Ρ‹ΠΉ id */
  id: string,
  /* ВСкст */
  label: string;
  /* ΠšΠΎΡ€ΠΎΡ‚ΠΊΠΈΠΉ Π²Π°Ρ€ΠΈΠ°Π½Ρ‚ тСкста */
  shortLabel?: string;
  /* Бсылка */
  href?: string;
  /* КолбСк ΠΎΠ±Ρ€Π°Π±ΠΎΡ‚ΠΊΠΈ ΠΊΠ»ΠΈΠΊΠ° Π² Π°ΠΉΡ‚Π΅ΠΌ */
  onClick?(): void;
}

ΠšΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚Ρ‹ Breadcrumbs ΠΌΠ΅ΠΌΠΎΠΈΠ·ΠΈΡ€ΠΎΠ²Π°Π½, ΡΡ‚Π°Ρ€Π°ΠΉΡ‚Π΅ΡΡŒ ΠΏΠ΅Ρ€Π΅Π΄Π°Π²Π°Ρ‚ΡŒ items ΠΎΠ΄Π½ΠΎΠΉ ΠΈ Ρ‚ΠΎΠΉ ΠΆΠ΅ ссылкой.

FAQs

Package last updated on 19 Sep 2025

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