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.
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.
Installation
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
-
Add the pieces it builds on: Accordion, Breadcrumb.
-
Copy and paste the following code into your project.
- Update the import paths to match your project setup.