Skip to Content

Primitives

Every vendor UI primitive bundled with Kiva UI, with the symbols each one exports.

Kiva components are built on a vendored set of 296 primitives. They install into your project the same way Kiva components do, and Kiva components that use one pull it in automatically — so most of this list is already in your project.

Reach for a primitive before writing your own: a Chart, FileUpload, PDFViewer or Gauge here is already themed, accessible and covered by the registry.

kiva-ui add <name>

shadcn / Kiva UI

The base layer. Installed to components/ui/.

import { ... } from '@/components/ui/<name>';
PrimitiveExports
accordionAccordion, AccordionContent, AccordionItem, AccordionTrigger
action-barActionBar, ActionBarClose, ActionBarGroup, ActionBarItem, ActionBarSelection, ActionBarSeparator
alertAlert, AlertDescription, AlertTitle
alert-dialogAlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter +6
angle-sliderAngleSlider, AngleSliderRange, AngleSliderThumb, AngleSliderTrack, AngleSliderValue, useAngleSlider
aspect-ratioAspectRatio
avatarAvatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage
avatar-groupAvatarGroup
badgeBadge
badge-overflowBadgeOverflow
breadcrumbBreadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage +1
buttonButton
button-groupButtonGroup, ButtonGroupSeparator, ButtonGroupText
calendarCalendar, CalendarDayButton
cardCard, CardAction, CardContent, CardDescription, CardFooter, CardHeader +1
carouselCarousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious
chartChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent
checkboxCheckbox
circular-progressCircularProgress, CircularProgressCombined, CircularProgressIndicator, CircularProgressRange, CircularProgressTrack, CircularProgressValueText
collapsibleCollapsible, CollapsibleContent, CollapsibleTrigger
color-pickerColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect +5
color-swatchColorSwatch
comboboxCombobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent +10
commandCommand, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem +3
compare-sliderCompareSlider, CompareSliderAfter, CompareSliderBefore, CompareSliderHandle, CompareSliderLabel
context-menuContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel +9
cropperCropper, CropperArea, CropperAreaData, CropperImage, CropperObjectFit, CropperPoint +4
dialogDialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader +4
directionDirectionProvider, useDirection
document-viewer-sidebarDocumentViewerSidebarSkeleton, DocumentViewerThumbnailSidebar, useElementWidth, useInlineThumbnailSidebar
drawerDrawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader +4
dropdown-menuDropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel +9
editableEditable, EditableArea, EditableCancel, EditableInput, EditableLabel, EditablePreview +4
emptyEmpty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle
fieldField, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel +4
file-uploadFileUpload, FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata +5
formForm, FormControl, FormDescription, FormField, FormItem, FormLabel +2
fpsFps
gaugeGauge, GaugeCombined, GaugeIndicator, GaugeLabel, GaugeRange, GaugeTrack +1
hover-cardHoverCard, HoverCardContent, HoverCardTrigger
inputInput
input-groupInputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea
input-otpInputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot
itemItem, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup +4
kanbanKanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle +1
kbdKbd, KbdGroup
key-valueKeyValue, KeyValueAdd, KeyValueError, KeyValueItem, KeyValueItemData, KeyValueKeyInput +4
labelLabel
marqueeMarquee, MarqueeContent, MarqueeEdge, MarqueeItem
mask-inputMASK_PATTERNS, MaskInput
media-playerMediaPlayer, MediaPlayerAudio, MediaPlayerCaptions, MediaPlayerControls, MediaPlayerControlsOverlay, MediaPlayerDownload +19
menubarMenubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel +10
native-selectNativeSelect, NativeSelectOptGroup, NativeSelectOption
navigation-menuNavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList +2
paginationPagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext +1
pdf-thumbnail-utils—
pdf-viewerPDFViewer
phone-inputPhoneInput, PhoneInputCountrySelect, PhoneInputField, usePhoneInput
popoverPopover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle +1
progressProgress
qr-codeQRCode, QRCodeCanvas, QRCodeDownload, QRCodeImage, QRCodeOverlay, QRCodeSkeleton +2
radio-groupRadioGroup, RadioGroupItem
ratingRating, RatingItem, useRating
relative-time-cardRelativeTimeCard
resizableResizableHandle, ResizablePanel, ResizablePanelGroup
responsive-dialogResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader +4
scroll-areaScrollArea, ScrollBar
scroll-spyScrollSpy, ScrollSpyLink, ScrollSpyNav, ScrollSpySection, ScrollSpyViewport
scrollerScroller
segmented-inputSegmentedInput, SegmentedInputItem
selectSelect, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton +4
selection-toolbarSelectionToolbar, SelectionToolbarItem, SelectionToolbarSeparator, useSelectionToolbar
separatorSeparator
sheetSheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader +2
sidebarSidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent +18
skeletonSkeleton
sliderSlider
sonnerToaster
sortableSortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay
speed-dialSpeedDial, SpeedDialAction, SpeedDialContent, SpeedDialItem, SpeedDialLabel, SpeedDialTrigger
spinnerSpinner
stackStack, StackItem
statStat, StatDescription, StatIndicator, StatLabel, StatSeparator, StatTrend +1
statusStatus, StatusIndicator, StatusLabel
stepperStepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperList +6
swapSwap, SwapOff, SwapOn, useSwap
switchSwitch
tableTable, TableBody, TableCaption, TableCell, TableFooter, TableHead +2
tabsTabs, TabsContent, TabsList, TabsTrigger
textareaTextarea
time-pickerTimePicker, TimePickerClear, TimePickerContent, TimePickerHour, TimePickerInput, TimePickerInputGroup +7
timelineTimeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader +3
toggleToggle
toggle-groupToggleGroup, ToggleGroupItem
tooltipTooltip, TooltipContent, TooltipProvider, TooltipTrigger
visually-hidden-inputVisuallyHiddenInput

Plate editor

Rich-text editor pieces. Installed to components/kiva/editor/.

import { ... } from '@/components/kiva/editor/<name>';
PrimitiveExports
ai-chat-editorAIChatEditor
ai-kitAIKit
ai-menuAILoadingBar, AIMenu, AIMenuItems
ai-nodeAIAnchorElement, AILeaf
ai-toolbar-buttonAIToolbarButton
align-base-kitBaseAlignKit
align-kitAlignKit
align-toolbar-buttonAlignToolbarButton
autoformat-kitAutoformatKit
basic-blocks-base-kitBaseBasicBlocksKit
basic-blocks-kitBasicBlocksKit
basic-marks-base-kitBaseBasicMarksKit
basic-marks-kitBasicMarksKit
block-context-menuBlockContextMenu
block-discussionBlockDiscussion
block-draggableBlockDraggable
block-listBlockList
block-list-staticBlockListStatic
block-menu-kitBlockMenuKit
block-placeholder-kitBlockPlaceholderKit
block-selectionBlockSelection
block-selection-kitBlockSelectionKit
block-suggestionBlockSuggestionCard
blockquote-nodeBlockquoteElement
blockquote-node-staticBlockquoteElementStatic
callout-base-kitBaseCalloutKit
callout-kitCalloutKit
callout-nodeCalloutElement
callout-node-staticCalloutElementDocx, CalloutElementStatic
captionCaption, CaptionButton, CaptionTextarea
code-block-base-kitBaseCodeBlockKit
code-block-kitCodeBlockKit
code-block-nodeCodeBlockElement, CodeLineElement, CodeSyntaxLeaf
code-block-node-staticCodeBlockElementDocx, CodeBlockElementStatic, CodeLineElementDocx, CodeLineElementStatic, CodeSyntaxLeafDocx, CodeSyntaxLeafStatic
code-drawing-base-kitBaseCodeDrawingKit
code-drawing-nodeCodeDrawingElement
code-drawing-node-staticCodeDrawingElementStatic
code-nodeCodeLeaf
code-node-staticCodeLeafStatic
column-base-kitBaseColumnKit
column-kitColumnKit
column-nodeColumnElement, ColumnGroupElement
column-node-staticColumnElementDocx, ColumnElementStatic, ColumnGroupElementDocx, ColumnGroupElementStatic
commentComment, CommentCreateForm
comment-base-kitBaseCommentKit
comment-kitCommentKit
comment-nodeCommentLeaf
comment-node-staticCommentLeafStatic
comment-toolbar-buttonCommentToolbarButton
cursor-overlayCursorOverlay
cursor-overlay-kitCursorOverlayKit
date-base-kitBaseDateKit
date-kitDateKit
date-nodeDateElement
date-node-staticDateElementStatic
discussion-kitDiscussionKit
dnd-kitDndKit
docx-export-kitDocxExportKit
editorEditor, EditorContainer, EditorView
editor-base-kitBaseEditorKit
editor-staticEditorStatic
emoji-kitEmojiKit
emoji-nodeEmojiInputElement
emoji-toolbar-buttonEmojiPicker, EmojiPopover, EmojiToolbarButton
equation-nodeEquationElement, InlineEquationElement
equation-node-staticEquationElementDocx, EquationElementStatic, InlineEquationElementDocx, InlineEquationElementStatic
equation-toolbar-buttonInlineEquationToolbarButton
exit-break-kitExitBreakKit
export-toolbar-buttonExportToolbarButton
fixed-toolbarFixedToolbar
fixed-toolbar-buttonsFixedToolbarButtons
fixed-toolbar-kitFixedToolbarKit
floating-toolbarFloatingToolbar
floating-toolbar-buttonsFloatingToolbarButtons
floating-toolbar-kitFloatingToolbarKit
font-base-kitBaseFontKit
font-color-toolbar-buttonColorDropdownMenuItems, DEFAULT_COLORS, FontColorToolbarButton
font-kitFontKit
font-size-toolbar-buttonFontSizeToolbarButton
footnote-base-kitBaseFootnoteKit
footnote-nodeFootnoteDefinitionElement, FootnoteInputElement, FootnoteReferenceElement
footnote-node-staticFootnoteDefinitionElementStatic, FootnoteReferenceElementStatic
heading-nodeH1Element, H2Element, H3Element, H4Element, H5Element, H6Element +1
heading-node-staticH1ElementStatic, H2ElementStatic, H3ElementStatic, H4ElementStatic, H5ElementStatic, H6ElementStatic +1
highlight-nodeHighlightLeaf
highlight-node-staticHighlightLeafStatic
history-toolbar-buttonRedoToolbarButton, UndoToolbarButton
hr-nodeHrElement
hr-node-staticHrElementStatic
import-toolbar-buttonImportToolbarButton
indent-base-kitBaseIndentKit
indent-kitIndentKit
indent-toolbar-buttonIndentToolbarButton, OutdentToolbarButton
inline-comboboxInlineCombobox, InlineComboboxContent, InlineComboboxEmpty, InlineComboboxGroup, InlineComboboxGroupLabel, InlineComboboxInput +2
insert-toolbar-buttonInsertToolbarButton
kbd-nodeKbdLeaf
kbd-node-staticKbdLeafStatic
line-height-base-kitBaseLineHeightKit
line-height-kitLineHeightKit
line-height-toolbar-buttonLineHeightToolbarButton
link-base-kitBaseLinkKit
link-kitLinkKit
link-nodeLinkElement
link-node-staticLinkElementStatic
link-toolbarLinkFloatingToolbar
link-toolbar-buttonLinkToolbarButton
list-base-kitBaseListKit
list-kitListKit
list-toolbar-buttonBulletedListToolbarButton, NumberedListToolbarButton, TodoListToolbarButton
mark-toolbar-buttonMarkToolbarButton
markdown-kitMarkdownKit
math-base-kitBaseMathKit
math-kitMathKit
media-audio-nodeAudioElement
media-audio-node-staticAudioElementStatic
media-base-kitBaseMediaKit
media-file-nodeFileElement
media-file-node-staticFileElementStatic
media-image-nodeImageElement
media-image-node-staticImageElementStatic
media-toolbarMediaToolbar
media-toolbar-buttonMediaToolbarButton
media-video-nodeVideoElement
media-video-node-staticVideoElementStatic
mention-base-kitBaseMentionKit
mention-kitMentionKit
mention-nodeMentionElement, MentionInputElement
mention-node-staticMentionElementStatic
mode-toolbar-buttonModeToolbarButton
more-toolbar-buttonMoreToolbarButton
paragraph-nodeParagraphElement
paragraph-node-staticParagraphElementStatic
resize-handleResizable, ResizeHandle
slash-kitSlashKit
slash-nodeSlashInputElement
suggestion-base-kitBaseSuggestionKit
suggestion-kitSuggestionKit
suggestion-nodeSuggestionLeaf, SuggestionLineBreak, SuggestionLineBreakAnchor, SuggestionLineBreakContent, VoidRemoveSuggestionOverlay
suggestion-node-staticSuggestionLeafStatic, VoidRemoveSuggestionOverlayStatic
suggestion-toolbar-buttonSuggestionToolbarButton
table-base-kitBaseTableKit
table-iconsBorderAllIcon, BorderBottomIcon, BorderLeftIcon, BorderNoneIcon, BorderRightIcon, BorderTopIcon
table-kitTableKit
table-nodeTableCellElement, TableCellHeaderElement, TableElement, TableRowElement
table-node-staticTableCellElementStatic, TableCellHeaderElementStatic, TableElementStatic, TableRowElementStatic
table-toolbar-buttonTableToolbarButton
toc-base-kitBaseTocKit
toc-kitTocKit
toc-nodeTocElement
toc-node-staticTocElementDocx, TocElementStatic
toggle-base-kitBaseToggleKit
toggle-kitToggleKit
toggle-nodeToggleElement
toggle-node-staticToggleElementStatic
toggle-toolbar-buttonToggleToolbarButton
toolbarToolbar, ToolbarButton, ToolbarGroup, ToolbarLink, ToolbarMenuGroup, ToolbarSeparator +5
transforms—
turn-into-toolbar-buttonTurnIntoToolbarButton
use-chatuseChat

AI Elements

Conversation and prompt surfaces for AI features. Installed to components/ai-elements/.

import { ... } from '@/components/ai-elements/<name>';
PrimitiveExports
agentAgent, AgentContent, AgentHeader, AgentInstructions, AgentOutput, AgentTool +1
artifactArtifact, ArtifactAction, ArtifactActions, ArtifactClose, ArtifactContent, ArtifactDescription +2
attachmentsAttachment, AttachmentEmpty, AttachmentHoverCard, AttachmentHoverCardContent, AttachmentHoverCardTrigger, AttachmentInfo +5
audio-playerAudioPlayer, AudioPlayerControlBar, AudioPlayerDurationDisplay, AudioPlayerElement, AudioPlayerMuteButton, AudioPlayerPlayButton +5
chain-of-thoughtChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults +1
checkpointCheckpoint, CheckpointIcon, CheckpointTrigger
code-blockCodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename +7
commitCommit, CommitActions, CommitAuthor, CommitAuthorAvatar, CommitContent, CommitCopyButton +16
confirmationConfirmation, ConfirmationAccepted, ConfirmationAction, ConfirmationActions, ConfirmationRejected, ConfirmationRequest +1
contextContext, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader +4
conversationConversation, ConversationContent, ConversationDownload, ConversationEmptyState, ConversationScrollButton
environment-variablesEnvironmentVariable, EnvironmentVariableCopyButton, EnvironmentVariableGroup, EnvironmentVariableName, EnvironmentVariableRequired, EnvironmentVariableValue +5
file-treeFileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName
imageImage
inline-citationInlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent +8
jsx-previewJSXPreview, JSXPreviewContent, JSXPreviewError, useJSXPreview
messageMessage, MessageAction, MessageActions, MessageBranch, MessageBranchContent, MessageBranchNext +6
mic-selectorMicSelector, MicSelectorContent, MicSelectorEmpty, MicSelectorInput, MicSelectorItem, MicSelectorLabel +4
model-selectorModelSelector, ModelSelectorContent, ModelSelectorDialog, ModelSelectorEmpty, ModelSelectorGroup, ModelSelectorInput +8
open-in-chatOpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInCursor, OpenInItem +6
package-infoPackageInfo, PackageInfoChangeType, PackageInfoContent, PackageInfoDependencies, PackageInfoDependency, PackageInfoDescription +3
personaPersona
planPlan, PlanAction, PlanContent, PlanDescription, PlanFooter, PlanHeader +2
prompt-inputLocalReferencedSourcesContext, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem +33
queueQueue, QueueItem, QueueItemAction, QueueItemActions, QueueItemAttachment, QueueItemContent +9
reasoningReasoning, ReasoningContent, ReasoningTrigger, useReasoning
sandboxSandbox, SandboxContent, SandboxHeader, SandboxTabContent, SandboxTabs, SandboxTabsBar +2
schema-displaySchemaDisplay, SchemaDisplayBody, SchemaDisplayContent, SchemaDisplayDescription, SchemaDisplayExample, SchemaDisplayHeader +7
shimmerShimmer
snippetSnippet, SnippetAddon, SnippetCopyButton, SnippetInput, SnippetText
sourcesSource, Sources, SourcesContent, SourcesTrigger
speech-inputSpeechInput
stack-traceStackTrace, StackTraceActions, StackTraceContent, StackTraceCopyButton, StackTraceError, StackTraceErrorMessage +4
suggestionSuggestion, Suggestions
taskTask, TaskContent, TaskItem, TaskItemFile, TaskTrigger
terminalTerminal, TerminalActions, TerminalClearButton, TerminalContent, TerminalCopyButton, TerminalHeader +2
test-resultsTest, TestDuration, TestError, TestErrorMessage, TestErrorStack, TestName +11
toolTool, ToolContent, ToolHeader, ToolInput, ToolOutput
transcriptionTranscription, TranscriptionSegment
voice-selectorVoiceSelector, VoiceSelectorAccent, VoiceSelectorAge, VoiceSelectorAttributes, VoiceSelectorBullet, VoiceSelectorContent +14
web-previewWebPreview, WebPreviewBody, WebPreviewConsole, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl

On this page