suiss/ui · Block
Footer Compact
A narrow site footer with a breadcrumb, a collapsible link directory, and legal lines.
Footer Compact is an open-source block from suiss/ui for React. The @esuiss/ui CLI copies its source into your project, so you own the code.
A narrow footer for mobile-first sites: a breadcrumb for the current page, a collapsible directory of link sections and legal lines at the bottom. It keeps the same single-column layout at every width. As a server component with no state, it drops into any layout.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
-
Add the pieces it builds on: Accordion, Breadcrumb.
-
Copy the source into
components/blocks/footer-compact.tsx:
- Update the import paths to match your project.
Usage
Edit sections for the directory titles and links. URLs are hash anchors generated by the slug helper, so map them to your real routes. The breadcrumb trail, phone number, copyright and region link are inline.