unom

Kreative Webentwicklung aus Rottweil

Rottweil

@unom/app-ui (0.1.0)

Published 2026-06-28 14:28:44 +00:00 by enricobuehler

Installation

@unom:registry=https://git.unom.io/api/packages/unom/npm/
npm install @unom/app-ui@0.1.0
"@unom/app-ui": "0.1.0"

About this package

@unom/app-ui

Composite, app-level UI blocks shared across the unom/punktfunk apps (the marketing site and the docs site). One layer up from @unom/ui, which is primitives only — this package hosts larger blocks/sections that more than one app renders, so they stay in sync instead of being hand-mirrored per repo.

Components are themed entirely through @unom/style's semantic tokens (neutral-accent, main, …). Each consumer maps those tokens to its own surfaces (the marketing site's blue theme, the docs' Fumadocs violet/dark chrome), so the markup is identical while each site keeps its palette.

Subpath exports

  • @unom/app-ui/footer<FooterView>: the punktfunk footer (link sections, socials, tagline). Presentational; data fetching stays in each app's route loader. Pass resolveHref to rebase root-relative links onto another origin (the docs do this so footer links target the marketing site).
import { FooterView } from "@unom/app-ui/footer";

<FooterView
  sections={footer?.sections}
  tagline={footer?.tagline}
  socials={footer?.socials}
  socialsLabel={m.footer_socials()}
/>;

Develop

bun install
bun run build      # tsdown → dist/ (esm + d.ts)
bun run typecheck

dist/ is published (not committed). Releases go to the private Gitea npm registry under the @unom scope via bun publish.

Dependencies

Dependencies

ID Version
@icons-pack/react-simple-icons ^13.13.0

Development Dependencies

ID Version
@biomejs/biome 2.4.15
@types/react ^19.2.15
react ^19.2.6
tsdown ^0.22.3
typescript ^6.0.3

Peer Dependencies

ID Version
@unom/style ^0.4.4
react ^19.0.0
Details
npm
2026-06-28 14:28:44 +00:00
8
latest
3.0 KiB
Assets (1)
Versions (1) View all
0.1.0 2026-06-28