Skip to content
tcpsystemsui

Theme

Colour scheme
Accent
Density
Radius
Esc

Footer

Site footer with link groups.

beta

Examples

Link groups.svelte
<script lang="ts">
	import Footer from '@tcpsystems/ui/foundation/Footer';
</script>

<Footer groups={[
	{ title: 'Platform', links: [
		{ label: 'Studio', href: 'https://studio.tcp.systems' },
		{ label: 'Console', href: 'https://console.tcp.systems' }
	] },
	{ title: 'Resources', links: [
		{ label: 'Documentation', href: 'https://docs.tcp.systems' },
		{ label: 'Service status', href: 'https://status.tcp.systems' }
	] }
]} />

With end content

With end content.svelte
<script lang="ts">
	import Footer from '@tcpsystems/ui/foundation/Footer';
	import Cluster from '@tcpsystems/ui/foundation/Cluster';
</script>

<Footer groups={[{ title: 'Support', links: [
	{ label: 'Documentation', href: 'https://docs.tcp.systems' },
	{ label: 'Service status', href: 'https://status.tcp.systems' }
]}]}>
	{#snippet end()}
		<Cluster justify="between">
			<small>© {new Date().getFullYear()} tcpsystems</small>
			<a href="https://console.tcp.systems">Manage your services</a>
		</Cluster>
	{/snippet}
</Footer>
Compact footer.svelte
<script lang="ts">
	import Footer from '@tcpsystems/ui/foundation/Footer';
</script>

<Footer>
	{#snippet end()}
		<small>© {new Date().getFullYear()} tcpsystems · Owner-operated infrastructure</small>
	{/snippet}
</Footer>

API

Import
import Footer from '@tcpsystems/ui/foundation/Footer';
PropTypeDefault
groups?Group[][]
Snippet
end
HookKind
.tcp-footerRoot class