Skip to content
UiContext
DocsComponentsBlocks
GitHub

Get started

IntroductionInstallationAI interfacesComponents

Foundations

ButtonButton & ToggleThemesForm ControlsControl StylesCompact DashboardCompact Page HeaderLayoutGlyphsCalloutCopy ButtonDialogPopoverPicker

Navigation & Records

Page HeaderApp ShellWorkspace ChromeAccount MenuRoute NavigationTabsNavigationCommand MenuSearchFiltersData TableTableListBoardCalendarCard GalleryTimelineDetail PanelPropertiesStatusSystem States

Agent Interfaces

WebMCP ToolsAgent ConfirmationAgent EditorThreadConversation ViewportComposerStreamStepsApprovalQuestionsInboxArtifactsComputerMemorySkillsSuggestionsInline AI

Editing & Collaboration

EditorBlocksProseCitationsAttributionCommentsActivityDiffPull RequestSharing

Settings & Automation

Sign-in & SessionSettingsSetting ListMembersScopesPlan GateConnectorsSecretsAudit LogCanvasMappingRoutinesRulesRun HistorySummaryUsage
Components/Copy Button

Copy Button

Copies text with accessible success or failure feedback.

Preview
workflow.run

Installation

npx shadcn@latest add checkfu/uicontext/copy-button

Usage

import { CopyButton } from "./ui/uicontext/components/CopyButton.ts"

CopyButton(h, { props: { value: "workflow.run", label: "Copy" } })

Source

  • src/CopyButton.ts
CalloutDialog

On this page

PreviewInstallationUsageSource
UiContextMIT