Invoice Detail
Read-only invoice detail with download and share actions.
Preview
Section titled “Preview”Open the exact pattern in the real BeeUI Web Showcase. This is a Web runtime preview, not native-device evidence.
This screen exposes a single default state.
The same source is available at apps/showcase/patterns/dashboard-finance/screens/invoice-detail-screen.tsx.
Composition
Section titled “Composition”Principal public BeeUI exports used by this screen: Badge, Button, Card, DescriptionItem, DescriptionList, HStack, Text, VStack.
The pattern is a composition recipe rather than a new framework layer. Follow the linked component contracts for state, provider, platform and accessibility details.
State and callback contract
Section titled “State and callback contract”The screen is controlled through InvoiceDetailScreenProps. User intent crosses the application boundary through onDownload, onShare; fetching, routing, persistence and side effects remain application-owned.
// from apps/showcase/patterns/dashboard-finance/screens/invoice-detail-screen.tsxexport type InvoiceData = { company: string; customer: string; dueDate: string; issueDate: string; lineItems: readonly InvoiceLineItem[]; number: string; paymentStatus: string; status: string; subtotal: string; tax: string; total: string;};
// from apps/showcase/patterns/dashboard-finance/screens/invoice-detail-screen.tsxexport type InvoiceLineItem = { amount: string; id: string; label: string; quantity: string;};
export type InvoiceDetailScreenProps = { data: InvoiceData; onDownload?: () => void; onShare?: () => void;};Common product states such as loading, success, empty, error, permission-like recovery, filtering/search/selection or pagination are represented only where the actual screen source exposes them. The pattern docs do not invent backend states that the fixture does not render.
Responsive contract
Section titled “Responsive contract”Read from the screen file and the 2 pattern-local files in its runtime import closure, direct and transitive: dashboard-finance/screens/invoice-detail-screen.tsx, dashboard-finance/components/screen-shell.tsx, dashboard-finance/components/section-header.tsx. Every fact below is scoped to those files and to nothing else.
- BeeUI layout primitives rendered:
Box(dashboard-finance/components/screen-shell.tsx),HStack(dashboard-finance/components/section-header.tsx,dashboard-finance/screens/invoice-detail-screen.tsx),VStack(dashboard-finance/components/section-header.tsx,dashboard-finance/screens/invoice-detail-screen.tsx). - Scroll ownership:
ScrollView(dashboard-finance/components/screen-shell.tsx). - Horizontal scrolling: no
horizontalscroll container indashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Width constraint:
max-w-6xl(dashboard-finance/components/screen-shell.tsx). - Breakpoint-prefixed utility classes: none in
dashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Platform-prefixed utility classes: none in
dashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Platform branching: no
Platform.OSorPlatform.selectcall indashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Viewport measurement: no
useWindowDimensions,Dimensions.getor breakpoint hook indashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx.
BeeUI’s mobile-first responsive contract is the framework-level document; the list above states only what this screen’s own files declare, and says nothing about how the composed components behave internally.
Accessibility
Section titled “Accessibility”Read from the screen file and the 2 pattern-local files in its runtime import closure, direct and transitive: dashboard-finance/screens/invoice-detail-screen.tsx, dashboard-finance/components/screen-shell.tsx, dashboard-finance/components/section-header.tsx. Every fact below is scoped to those files and to nothing else.
- Roles this screen sets itself: none set in
dashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Accessibility states and properties it sets itself: none set in
dashboard-finance/screens/invoice-detail-screen.tsx,dashboard-finance/components/screen-shell.tsx,dashboard-finance/components/section-header.tsx. - Semantics inherited from composed BeeUI families:
AppHeader,Badge,Box,Button,Card,DescriptionItem,DescriptionList,HStack,Text,VStack— each family’s own page derives the roles and states it sets; they are not restated here.
Touch-target size, focus order, announcements, RTL, large-text and reduced-motion behavior are not derived from this source — see the Accessibility guide for what is and is not covered by evidence. A Web preview does not substitute for VoiceOver/TalkBack runtime evidence.
Application ownership boundary
Section titled “Application ownership boundary”Intentionally excluded: Invoice retrieval, PDF generation, and share transport.
BeeUI does not take ownership of app routing, authentication/business rules, APIs/data fetching, persistence, form/state frameworks, chart frameworks or backend logic merely because a pattern visually composes those product concepts.
Source ownership
Section titled “Source ownership”InvoiceDetailScreen is Showcase source you copy, not a package export: it is not shipped from any @beemvp/beeui-* package, and the Registry CLI (pnpm beeui list / pnpm beeui add) does not carry pattern screens. Copy apps/showcase/patterns/dashboard-finance/screens/invoice-detail-screen.tsx into your app and adapt it directly. Only the individual BeeUI components it composes (linked above) are available for source ownership through the repository-local Registry workflow; see CLI & source ownership for both the published npx @beemvp/beeui-cli@next path and the repository-local checkout path.