Skip to content
ContractSpec
Start here

Package manual · platform

·Interfaces, presentations and design

lib.ui-link

Deep linking utilities for navigation

platformlibraryv5.0.4stableservernode
@lssm-tech/lib.ui-link
bun add @lssm-tech/lib.ui-link
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

@lssm-tech/lib.ui-link provides a tiny link component for shared UI surfaces that should not be coupled to framework-specific routers.

Website: https://contractspec.io

Installation

bun add @lssm-tech/lib.ui-link

or

npm install @lssm-tech/lib.ui-link

What belongs here

This package is intentionally narrow:

  • Generic anchor-style link behavior.
  • Minimal styling composition via @lssm-tech/lib.ui-kit-core.

Use this package when you want shared link behavior without Expo-router or Next-specific coupling.

API map

  • root default export
  • ./ui/link
  • Link component with anchor-style props and required href

Operational semantics and gotchas

  • The component renders a plain anchor.
  • It depends on @lssm-tech/lib.ui-kit-core for cn().
  • Unlike ui-kit and ui-kit-web, this package should stay router-agnostic.
  • The root export is just the default export from ./ui/link.

When not to use this package

  • Do not use it for Expo-router navigation.
  • Do not use it for Next.js Link behavior.
  • Do not use it for complex navigation abstractions.
  • @lssm-tech/lib.ui-kit-core
  • @lssm-tech/lib.ui-kit
  • @lssm-tech/lib.ui-kit-web

Local commands

  • bun run lint:check
  • bun run typecheck

Relationships

THIS PACKAGElib.ui-link2 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

4 declarations

Declared capabilities

Lib Ui Link

Deep linking utilities for navigation

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrm -rf dist
  • lintbun run lint:fix
  • lint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .
  • lint:checknode ../../../../scripts/biome.cjs check .
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit