API key manager preview
Review masked key metadata, scopes and lifecycle status with explicit create and revoke requests.
pro · Blocks · composite
When to use
- Use it when a page needs review masked key metadata, scopes and lifecycle status with explicit create and revoke requests.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than api key manager.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/api-key-managerImport components/ui/tidal.css, components/ui/api-key-manager.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/api-key-manager.css";
import{TidalApiKeyManager}from"./components/ui/api-key-manager";
export default()=><div className="tidal-scope"><TidalApiKeyManager keys={[{id:"example",name:"Demo",maskedValue:"value",scopes:["value"],status:"active",created:{label:"Demo"}}]} title={"Demo"}/></div>;API and props
TidalApiKeyManager.keys (required)ReadonlyArray<TidalApiKeyRecord>Required keys value accepted by this exported component.
TidalApiKeyManager.title (required)ReactNodeRequired title value accepted by this exported component.
TidalApiKeyManager.createButtonPropsButtonProps | undefinedOptional create button props value accepted by this exported component.
TidalApiKeyManager.createButtonRefRef<HTMLButtonElement> | undefinedOptional create button ref value accepted by this exported component.
TidalApiKeyManager.creationPendingboolean | undefinedOptional creation pending value accepted by this exported component.
TidalApiKeyManager.descriptionReactNodeOptional description value accepted by this exported component.
TidalApiKeyManager.dialogReactNodeCreation, confirmation, and one-time secret UI belong to the consumer. No key is generated or stored here.
TidalApiKeyManager.emptyContentReactNodeOptional empty content value accepted by this exported component.
TidalApiKeyManager.headingLevel"h2" | "h3" | "h4" | "h5" | "h6" | undefinedOptional heading level value accepted by this exported component.
TidalApiKeyManager.labelsPartial<{ create: string; creating: string; revoke: string; revoking: string; active: string; revoked: string; expired: string; created: string; lastUsed: string; unused: string; expires: string; scopes: string; noScopes: string; }> | undefinedOptional labels value accepted by this exported component.
TidalApiKeyManager.onCreateRequest((event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the create request interaction is proposed.
TidalApiKeyManager.onRevokeRequest((record: TidalApiKeyRecord, event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the revoke request interaction is proposed.
TidalApiKeyManager.pendingKeyIdstring | undefinedOptional pending key id value accepted by this exported component.
TidalApiKeyManager.secretReactNodeOptional secret value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.