UIPackage
Menu

Framework

Change language

Boilerplate repo

Integrations — Connector Status

blockmarketing

Connector health table listing each integration with its auth method, sync cadence, last successful run, and a status pill, plus a summary band counting healthy and degraded connectors.

Also available for React ->

Installation

$npx shadcn-vue@latest add https://uipkge.dev/r/vue/integrations-connector-status.json
Named registry:npx shadcn-vue@latest add @uipkge/integrations-connector-statusInstalls to:app/components/blocks/

Variants

Loading interactive previews…

Files installed (1)

  • app/components/blocks/IntegrationsConnectorStatus.vue4.6 kB
    <script setup lang="ts">
    import { computed } from 'vue'
    import { CircleAlert, CircleCheck, RefreshCw } from 'lucide-vue-next'
    import { Badge } from '@/components/ui/badge'
    import { Button } from '@/components/ui/button'
    import { Card, CardContent } from '@/components/ui/card'
    import { Separator } from '@/components/ui/separator'
    import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'
    
    const connectors = [
      { mark: 'SF', name: 'Snowflake', auth: 'Key pair', cadence: 'Live query', lastRun: '12 s ago', healthy: true },
      { mark: 'BQ', name: 'BigQuery', auth: 'Service account', cadence: 'Live query', lastRun: '41 s ago', healthy: true },
      { mark: 'OK', name: 'Okta', auth: 'SCIM', cadence: 'Every 15 min', lastRun: '6 min ago', healthy: true },
      {
        mark: 'DT',
        name: 'dbt Cloud',
        auth: 'API token',
        cadence: 'On DAG finish',
        lastRun: '1 h 12 m ago',
        healthy: true,
      },
      { mark: 'SL', name: 'Slack', auth: 'OAuth', cadence: 'On alert', lastRun: 'Token expired', healthy: false },
      { mark: 'PD', name: 'PagerDuty', auth: 'API key', cadence: 'On alert', lastRun: '3 h ago', healthy: true },
    ]
    
    const healthy = computed(() => connectors.filter((c) => c.healthy).length)
    const degraded = computed(() => connectors.length - healthy.value)
    </script>
    
    <template>
      <section data-slot="integrations-connector-status" class="bg-background">
        <div class="mx-auto max-w-5xl px-6 py-20 lg:py-28">
          <div class="flex flex-wrap items-end justify-between gap-6">
            <div class="max-w-2xl">
              <Badge variant="secondary">Connector health</Badge>
              <h2 class="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">You can see what we see</h2>
              <p class="text-muted-foreground mt-3 text-lg">
                Every connection reports its own auth method, cadence, and last successful run. No silent failures.
              </p>
            </div>
            <Button variant="outline" size="sm">
              <RefreshCw class="mr-2 size-3.5" aria-hidden="true" />
              Re-check all
            </Button>
          </div>
    
          <Card class="mt-10">
            <CardContent class="p-0">
              <Table>
                <TableHeader>
                  <TableRow>
                    <TableHead>Connector</TableHead>
                    <TableHead>Auth</TableHead>
                    <TableHead>Cadence</TableHead>
                    <TableHead>Last success</TableHead>
                    <TableHead class="text-right">Status</TableHead>
                  </TableRow>
                </TableHeader>
                <TableBody>
                  <TableRow v-for="connector in connectors" :key="connector.name">
                    <TableCell>
                      <div class="flex items-center gap-3">
                        <span
                          class="border-border text-muted-foreground flex size-8 items-center justify-center rounded-md border font-mono text-xs font-semibold"
                          aria-hidden="true"
                        >
                          {{ connector.mark }}
                        </span>
                        <span class="font-medium">{{ connector.name }}</span>
                      </div>
                    </TableCell>
                    <TableCell class="text-muted-foreground">{{ connector.auth }}</TableCell>
                    <TableCell class="text-muted-foreground">{{ connector.cadence }}</TableCell>
                    <TableCell class="text-muted-foreground font-mono text-xs">{{ connector.lastRun }}</TableCell>
                    <TableCell class="text-right">
                      <Badge :variant="connector.healthy ? 'secondary' : 'outline'" class="gap-1.5">
                        <CircleCheck v-if="connector.healthy" class="text-success size-3" aria-hidden="true" />
                        <CircleAlert v-else class="text-destructive size-3" aria-hidden="true" />
                        {{ connector.healthy ? 'Healthy' : 'Action needed' }}
                      </Badge>
                    </TableCell>
                  </TableRow>
                </TableBody>
              </Table>
    
              <Separator />
    
              <div class="text-muted-foreground flex flex-wrap items-center gap-x-6 gap-y-2 px-6 py-4 text-sm">
                <span class="flex items-center gap-2">
                  <CircleCheck class="text-success size-3.5" aria-hidden="true" />
                  {{ healthy }} healthy
                </span>
                <span class="flex items-center gap-2">
                  <CircleAlert class="text-destructive size-3.5" aria-hidden="true" />
                  {{ degraded }} needing action
                </span>
                <span class="ml-auto font-mono text-xs">Status refreshed every 60 s</span>
              </div>
            </CardContent>
          </Card>
        </div>
      </section>
    </template>
    

Raw manifest:https://uipkge.dev/r/vue/integrations-connector-status.json