BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/openstatus/status-page-get-in-touch

Status Page Get-in-Touch

openstatus/status-page-get-in-touch
FreeBlock

Two flat button primitives (icon + text) with tooltip chrome for the contact link in a status page header

Install it

npx shadcn@latest add https://openstatus.dev/r/status-page-get-in-touch.json

Source

src/components/blocks/status-page-get-in-touch.tsxopenstatus.dev/r/status-page-get-in-touch.json
1"use client";
2
3import { useStatusBlocksLabels } from "@/components/blocks/status-i18n";
4import { Button } from "@/components/ui/button";
5import {
6 Tooltip,
7 TooltipContent,
8 TooltipProvider,
9 TooltipTrigger,
10} from "@/components/ui/tooltip";
11import { cn } from "@/lib/utils";
12
13/**
14 * StatusPageGetInTouchIcon — ghost icon button with tooltip chrome.
15 *
16 * Pass the link element (with href + target + icon + sr-only label) as
17 * children; the block layers Button styling, asChild Slot, and the tooltip.
18 * Wraps in its own TooltipProvider so it's safe to mount anywhere.
19 */
20export function StatusPageGetInTouchIcon({
21 className,
22 children,
23 ...props
24}: React.ComponentProps<typeof Button>) {
25 const labels = useStatusBlocksLabels();
26 return (
27 <TooltipProvider>
28 <Tooltip>
29 <TooltipTrigger asChild>
30 <Button
31 data-slot="status-page-get-in-touch-icon"
32 variant="ghost"
33 size="icon"
34 type="button"
35 className={cn("size-8", className)}
36 asChild
37 {...props}
38 >
39 {children}
40 </Button>
41 </TooltipTrigger>
42 <TooltipContent>
43 <p>{labels.getInTouch}</p>
44 </TooltipContent>
45 </Tooltip>
46 </TooltipProvider>
47 );
48}
49
50/**
51 * StatusPageGetInTouchButton — outlined text-label button.
52 *
53 * Pass the link element (with href + target) as children; the block layers
54 * Button styling and asChild Slot. Default label is `labels.getInTouch` —
55 * the caller's link content overrides it if they pass children with text.
56 */
57export function StatusPageGetInTouchButton({
58 className,
59 ...props
60}: React.ComponentProps<typeof Button>) {
61 return (
62 <Button
63 data-slot="status-page-get-in-touch-button"
64 variant="outline"
65 size="sm"
66 type="button"
67 className={className}
68 asChild
69 {...props}
70 />
71 );
72}

What it pulls in

Other registry items

  • https://openstatus.dev/r/status-i18n.json
  • button
  • tooltip

Files it writes

  • src/components/blocks/status-page-get-in-touch.tsx

Facts

Registry
openstatus
Type
registry:block
Access
Free
Files written
1
Licence
AGPL-3.0
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

openstatus.dev openstatusHQ/openstatus on GitHub Raw registry item This item as JSON

More from openstatus

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Status Bannerstatus-banneropenstatusBlocksFreeno deps
Status Barstatus-baropenstatusBlocksFree1 dep
Status Blank Statesstatus-blankopenstatusBlocksFreeno deps
Status Calendarstatus-calendaropenstatusBlocksFree3 deps
Status Page Chromestatus-chromeopenstatusBlocksFreeno deps
Status Page (Complete)status-completeopenstatusBlocksFreeno deps
Status Componentstatus-componentopenstatusBlocksFree2 deps
Status Component Groupstatus-component-groupopenstatusBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex