lib.ui-link
Deep linking utilities for navigation
platformlibraryv5.0.4stableservernode
@lssm-tech/lib.ui-linkbun add @lssm-tech/lib.ui-linkManifest 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/linkLinkcomponent with anchor-style props and requiredhref
Operational semantics and gotchas
- The component renders a plain anchor.
- It depends on
@lssm-tech/lib.ui-kit-coreforcn(). - Unlike
ui-kitandui-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
Linkbehavior. - Do not use it for complex navigation abstractions.
Related packages
@lssm-tech/lib.ui-kit-core@lssm-tech/lib.ui-kit@lssm-tech/lib.ui-kit-web
Local commands
bun run lint:checkbun 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
@lssm-tech/lib.ui-kit-coreworkspace:^
Read the package manual ↗reactcatalog:
react-domcatalog:
@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗
Declared capabilities
Lib Ui Link
Deep linking utilities for navigation
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrm -rf distlintbun run lint:fixlint: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 prebuildtypechecktsgo --noEmit