114
Everything one connected service needs on a single card, its key, its site and its time zone, with a save bar that only turns up once you've changed something.
akaintegration settings·api key
Run this in any project set up for the shadcn CLI. It copies the Connection Card source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/connection-card.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ConnectionCard } from "@/components/connection-card";
export default function Page() {
return <ConnectionCard />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Connection Card source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| servicerequired | ConnectionCardService | — |
| defaultValuesrequired | ConnectionCardValues | — |
| timeZones | { value: string; label: string }[] | defaultZones |
| lastSaved | { by: string; at: string } | — |
| onSave | (values: ConnectionCardValues) => Promise<void> | void | — |
| className | string | — |