Skip to content
Folio

Website

Recovery

Loading, unavailable and missing-page states with recovery actions.

Usage

When to reach for it

Explain the current state and provide a real next action.

Ships from@misoto22/folio/website

TSX
import { RecoveryState } from '@misoto22/folio/website'

Notes

A recovery page composed from the system error primitive and caller-owned destinations.

Best practices

Do

  • Supply localized labels, descriptive links and meaningful image alternatives.

Don’t

  • Do not put service credentials, routing logic or backend models inside presentation components.

Examples

missing record

A missing record explains the state and offers concrete destinations. Recovery links are supplied by the host so they can use any router.

This record is unavailable

The entry may have moved or been removed.

Parts

Composed at the call site rather than configured through props, so a layout this component did not anticipate is still expressible.

RecoveryLinks

Suggested destinations, with routing supplied by the host.

RecoveryLinks props
PropTypeDefaultDescription
itemsrequired{ id: string; link: ReactElement }[]
labelrequiredstring

LoadingRouteIntro

The shared masthead geometry, drawn from the core loading primitives.

LoadingRouteIntro props
PropTypeDefaultDescription
titleClassNamestring'w-[min(100%,18rem)]'

LoadingRecords

A collection skeleton with or without a media column.

LoadingRecords props
PropTypeDefaultDescription
mediabooleantrue
rowsnumber4

WebsiteLoading

Named loading layouts for the website's reusable page shapes.

WebsiteLoading props
PropTypeDefaultDescription
labelrequiredstring
filtersbooleanfalse
layout'records' | 'gallery' | 'media' | 'metrics' | 'identity''records'
mediabooleantrue
rowsnumber4
titleClassNamestring