Foldocs UI
Foldkit-native layouts and documentation views without a React runtime.
foldocs-ui contains the visual layer used by every generated site. It renders
with Foldkit HTML builders, composes stateful controls from @foldkit/ui, and
keeps documentation state in the application's Effect program.
Exports
| Export | Responsibility |
|---|---|
foldocs-ui/layout | Documentation and landing-page layouts |
foldocs-ui/markdown | Deterministic Markdown and MDX AST rendering |
foldocs-ui | Combined public entry point |
Runtime contract
The package does not mount a second UI framework. Buttons, menus, disclosures,
and dialogs use Foldkit components, while generic interface icons come from the
framework-neutral lucide package.
Start here
Use Component library for the supported documentation primitives.
Use Theme for colors, dimensions, and initial dark mode.
Use Layouts to understand the available page shells.
Use Navigation for folders, roots, and page context.
Use Search UI and UI translations for application behavior.
Use Customization before overriding package CSS.
Last updated 2 ago 2026