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>';| Primitive | Exports |
|---|---|
accordion | Accordion, AccordionContent, AccordionItem, AccordionTrigger |
action-bar | ActionBar, ActionBarClose, ActionBarGroup, ActionBarItem, ActionBarSelection, ActionBarSeparator |
alert | Alert, AlertDescription, AlertTitle |
alert-dialog | AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter +6 |
angle-slider | AngleSlider, AngleSliderRange, AngleSliderThumb, AngleSliderTrack, AngleSliderValue, useAngleSlider |
aspect-ratio | AspectRatio |
avatar | Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage |
avatar-group | AvatarGroup |
badge | Badge |
badge-overflow | BadgeOverflow |
breadcrumb | Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage +1 |
button | Button |
button-group | ButtonGroup, ButtonGroupSeparator, ButtonGroupText |
calendar | Calendar, CalendarDayButton |
card | Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader +1 |
carousel | Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious |
chart | ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent |
checkbox | Checkbox |
circular-progress | CircularProgress, CircularProgressCombined, CircularProgressIndicator, CircularProgressRange, CircularProgressTrack, CircularProgressValueText |
collapsible | Collapsible, CollapsibleContent, CollapsibleTrigger |
color-picker | ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerContent, ColorPickerEyeDropper, ColorPickerFormatSelect +5 |
color-swatch | ColorSwatch |
combobox | Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent +10 |
command | Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem +3 |
compare-slider | CompareSlider, CompareSliderAfter, CompareSliderBefore, CompareSliderHandle, CompareSliderLabel |
context-menu | ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel +9 |
cropper | Cropper, CropperArea, CropperAreaData, CropperImage, CropperObjectFit, CropperPoint +4 |
dialog | Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader +4 |
direction | DirectionProvider, useDirection |
document-viewer-sidebar | DocumentViewerSidebarSkeleton, DocumentViewerThumbnailSidebar, useElementWidth, useInlineThumbnailSidebar |
drawer | Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader +4 |
dropdown-menu | DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel +9 |
editable | Editable, EditableArea, EditableCancel, EditableInput, EditableLabel, EditablePreview +4 |
empty | Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle |
field | Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel +4 |
file-upload | FileUpload, FileUploadClear, FileUploadDropzone, FileUploadItem, FileUploadItemDelete, FileUploadItemMetadata +5 |
form | Form, FormControl, FormDescription, FormField, FormItem, FormLabel +2 |
fps | Fps |
gauge | Gauge, GaugeCombined, GaugeIndicator, GaugeLabel, GaugeRange, GaugeTrack +1 |
hover-card | HoverCard, HoverCardContent, HoverCardTrigger |
input | Input |
input-group | InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea |
input-otp | InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot |
item | Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup +4 |
kanban | Kanban, KanbanBoard, KanbanColumn, KanbanColumnHandle, KanbanItem, KanbanItemHandle +1 |
kbd | Kbd, KbdGroup |
key-value | KeyValue, KeyValueAdd, KeyValueError, KeyValueItem, KeyValueItemData, KeyValueKeyInput +4 |
label | Label |
marquee | Marquee, MarqueeContent, MarqueeEdge, MarqueeItem |
mask-input | MASK_PATTERNS, MaskInput |
media-player | MediaPlayer, MediaPlayerAudio, MediaPlayerCaptions, MediaPlayerControls, MediaPlayerControlsOverlay, MediaPlayerDownload +19 |
menubar | Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel +10 |
native-select | NativeSelect, NativeSelectOptGroup, NativeSelectOption |
navigation-menu | NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList +2 |
pagination | Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext +1 |
pdf-thumbnail-utils | — |
pdf-viewer | PDFViewer |
phone-input | PhoneInput, PhoneInputCountrySelect, PhoneInputField, usePhoneInput |
popover | Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle +1 |
progress | Progress |
qr-code | QRCode, QRCodeCanvas, QRCodeDownload, QRCodeImage, QRCodeOverlay, QRCodeSkeleton +2 |
radio-group | RadioGroup, RadioGroupItem |
rating | Rating, RatingItem, useRating |
relative-time-card | RelativeTimeCard |
resizable | ResizableHandle, ResizablePanel, ResizablePanelGroup |
responsive-dialog | ResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader +4 |
scroll-area | ScrollArea, ScrollBar |
scroll-spy | ScrollSpy, ScrollSpyLink, ScrollSpyNav, ScrollSpySection, ScrollSpyViewport |
scroller | Scroller |
segmented-input | SegmentedInput, SegmentedInputItem |
select | Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton +4 |
selection-toolbar | SelectionToolbar, SelectionToolbarItem, SelectionToolbarSeparator, useSelectionToolbar |
separator | Separator |
sheet | Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader +2 |
sidebar | Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent +18 |
skeleton | Skeleton |
slider | Slider |
sonner | Toaster |
sortable | Sortable, SortableContent, SortableItem, SortableItemHandle, SortableOverlay |
speed-dial | SpeedDial, SpeedDialAction, SpeedDialContent, SpeedDialItem, SpeedDialLabel, SpeedDialTrigger |
spinner | Spinner |
stack | Stack, StackItem |
stat | Stat, StatDescription, StatIndicator, StatLabel, StatSeparator, StatTrend +1 |
status | Status, StatusIndicator, StatusLabel |
stepper | Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperList +6 |
swap | Swap, SwapOff, SwapOn, useSwap |
switch | Switch |
table | Table, TableBody, TableCaption, TableCell, TableFooter, TableHead +2 |
tabs | Tabs, TabsContent, TabsList, TabsTrigger |
textarea | Textarea |
time-picker | TimePicker, TimePickerClear, TimePickerContent, TimePickerHour, TimePickerInput, TimePickerInputGroup +7 |
timeline | Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader +3 |
toggle | Toggle |
toggle-group | ToggleGroup, ToggleGroupItem |
tooltip | Tooltip, TooltipContent, TooltipProvider, TooltipTrigger |
visually-hidden-input | VisuallyHiddenInput |
Plate editor
Rich-text editor pieces. Installed to components/kiva/editor/.
import { ... } from '@/components/kiva/editor/<name>';| Primitive | Exports |
|---|---|
ai-chat-editor | AIChatEditor |
ai-kit | AIKit |
ai-menu | AILoadingBar, AIMenu, AIMenuItems |
ai-node | AIAnchorElement, AILeaf |
ai-toolbar-button | AIToolbarButton |
align-base-kit | BaseAlignKit |
align-kit | AlignKit |
align-toolbar-button | AlignToolbarButton |
autoformat-kit | AutoformatKit |
basic-blocks-base-kit | BaseBasicBlocksKit |
basic-blocks-kit | BasicBlocksKit |
basic-marks-base-kit | BaseBasicMarksKit |
basic-marks-kit | BasicMarksKit |
block-context-menu | BlockContextMenu |
block-discussion | BlockDiscussion |
block-draggable | BlockDraggable |
block-list | BlockList |
block-list-static | BlockListStatic |
block-menu-kit | BlockMenuKit |
block-placeholder-kit | BlockPlaceholderKit |
block-selection | BlockSelection |
block-selection-kit | BlockSelectionKit |
block-suggestion | BlockSuggestionCard |
blockquote-node | BlockquoteElement |
blockquote-node-static | BlockquoteElementStatic |
callout-base-kit | BaseCalloutKit |
callout-kit | CalloutKit |
callout-node | CalloutElement |
callout-node-static | CalloutElementDocx, CalloutElementStatic |
caption | Caption, CaptionButton, CaptionTextarea |
code-block-base-kit | BaseCodeBlockKit |
code-block-kit | CodeBlockKit |
code-block-node | CodeBlockElement, CodeLineElement, CodeSyntaxLeaf |
code-block-node-static | CodeBlockElementDocx, CodeBlockElementStatic, CodeLineElementDocx, CodeLineElementStatic, CodeSyntaxLeafDocx, CodeSyntaxLeafStatic |
code-drawing-base-kit | BaseCodeDrawingKit |
code-drawing-node | CodeDrawingElement |
code-drawing-node-static | CodeDrawingElementStatic |
code-node | CodeLeaf |
code-node-static | CodeLeafStatic |
column-base-kit | BaseColumnKit |
column-kit | ColumnKit |
column-node | ColumnElement, ColumnGroupElement |
column-node-static | ColumnElementDocx, ColumnElementStatic, ColumnGroupElementDocx, ColumnGroupElementStatic |
comment | Comment, CommentCreateForm |
comment-base-kit | BaseCommentKit |
comment-kit | CommentKit |
comment-node | CommentLeaf |
comment-node-static | CommentLeafStatic |
comment-toolbar-button | CommentToolbarButton |
cursor-overlay | CursorOverlay |
cursor-overlay-kit | CursorOverlayKit |
date-base-kit | BaseDateKit |
date-kit | DateKit |
date-node | DateElement |
date-node-static | DateElementStatic |
discussion-kit | DiscussionKit |
dnd-kit | DndKit |
docx-export-kit | DocxExportKit |
editor | Editor, EditorContainer, EditorView |
editor-base-kit | BaseEditorKit |
editor-static | EditorStatic |
emoji-kit | EmojiKit |
emoji-node | EmojiInputElement |
emoji-toolbar-button | EmojiPicker, EmojiPopover, EmojiToolbarButton |
equation-node | EquationElement, InlineEquationElement |
equation-node-static | EquationElementDocx, EquationElementStatic, InlineEquationElementDocx, InlineEquationElementStatic |
equation-toolbar-button | InlineEquationToolbarButton |
exit-break-kit | ExitBreakKit |
export-toolbar-button | ExportToolbarButton |
fixed-toolbar | FixedToolbar |
fixed-toolbar-buttons | FixedToolbarButtons |
fixed-toolbar-kit | FixedToolbarKit |
floating-toolbar | FloatingToolbar |
floating-toolbar-buttons | FloatingToolbarButtons |
floating-toolbar-kit | FloatingToolbarKit |
font-base-kit | BaseFontKit |
font-color-toolbar-button | ColorDropdownMenuItems, DEFAULT_COLORS, FontColorToolbarButton |
font-kit | FontKit |
font-size-toolbar-button | FontSizeToolbarButton |
footnote-base-kit | BaseFootnoteKit |
footnote-node | FootnoteDefinitionElement, FootnoteInputElement, FootnoteReferenceElement |
footnote-node-static | FootnoteDefinitionElementStatic, FootnoteReferenceElementStatic |
heading-node | H1Element, H2Element, H3Element, H4Element, H5Element, H6Element +1 |
heading-node-static | H1ElementStatic, H2ElementStatic, H3ElementStatic, H4ElementStatic, H5ElementStatic, H6ElementStatic +1 |
highlight-node | HighlightLeaf |
highlight-node-static | HighlightLeafStatic |
history-toolbar-button | RedoToolbarButton, UndoToolbarButton |
hr-node | HrElement |
hr-node-static | HrElementStatic |
import-toolbar-button | ImportToolbarButton |
indent-base-kit | BaseIndentKit |
indent-kit | IndentKit |
indent-toolbar-button | IndentToolbarButton, OutdentToolbarButton |
inline-combobox | InlineCombobox, InlineComboboxContent, InlineComboboxEmpty, InlineComboboxGroup, InlineComboboxGroupLabel, InlineComboboxInput +2 |
insert-toolbar-button | InsertToolbarButton |
kbd-node | KbdLeaf |
kbd-node-static | KbdLeafStatic |
line-height-base-kit | BaseLineHeightKit |
line-height-kit | LineHeightKit |
line-height-toolbar-button | LineHeightToolbarButton |
link-base-kit | BaseLinkKit |
link-kit | LinkKit |
link-node | LinkElement |
link-node-static | LinkElementStatic |
link-toolbar | LinkFloatingToolbar |
link-toolbar-button | LinkToolbarButton |
list-base-kit | BaseListKit |
list-kit | ListKit |
list-toolbar-button | BulletedListToolbarButton, NumberedListToolbarButton, TodoListToolbarButton |
mark-toolbar-button | MarkToolbarButton |
markdown-kit | MarkdownKit |
math-base-kit | BaseMathKit |
math-kit | MathKit |
media-audio-node | AudioElement |
media-audio-node-static | AudioElementStatic |
media-base-kit | BaseMediaKit |
media-file-node | FileElement |
media-file-node-static | FileElementStatic |
media-image-node | ImageElement |
media-image-node-static | ImageElementStatic |
media-toolbar | MediaToolbar |
media-toolbar-button | MediaToolbarButton |
media-video-node | VideoElement |
media-video-node-static | VideoElementStatic |
mention-base-kit | BaseMentionKit |
mention-kit | MentionKit |
mention-node | MentionElement, MentionInputElement |
mention-node-static | MentionElementStatic |
mode-toolbar-button | ModeToolbarButton |
more-toolbar-button | MoreToolbarButton |
paragraph-node | ParagraphElement |
paragraph-node-static | ParagraphElementStatic |
resize-handle | Resizable, ResizeHandle |
slash-kit | SlashKit |
slash-node | SlashInputElement |
suggestion-base-kit | BaseSuggestionKit |
suggestion-kit | SuggestionKit |
suggestion-node | SuggestionLeaf, SuggestionLineBreak, SuggestionLineBreakAnchor, SuggestionLineBreakContent, VoidRemoveSuggestionOverlay |
suggestion-node-static | SuggestionLeafStatic, VoidRemoveSuggestionOverlayStatic |
suggestion-toolbar-button | SuggestionToolbarButton |
table-base-kit | BaseTableKit |
table-icons | BorderAllIcon, BorderBottomIcon, BorderLeftIcon, BorderNoneIcon, BorderRightIcon, BorderTopIcon |
table-kit | TableKit |
table-node | TableCellElement, TableCellHeaderElement, TableElement, TableRowElement |
table-node-static | TableCellElementStatic, TableCellHeaderElementStatic, TableElementStatic, TableRowElementStatic |
table-toolbar-button | TableToolbarButton |
toc-base-kit | BaseTocKit |
toc-kit | TocKit |
toc-node | TocElement |
toc-node-static | TocElementDocx, TocElementStatic |
toggle-base-kit | BaseToggleKit |
toggle-kit | ToggleKit |
toggle-node | ToggleElement |
toggle-node-static | ToggleElementStatic |
toggle-toolbar-button | ToggleToolbarButton |
toolbar | Toolbar, ToolbarButton, ToolbarGroup, ToolbarLink, ToolbarMenuGroup, ToolbarSeparator +5 |
transforms | — |
turn-into-toolbar-button | TurnIntoToolbarButton |
use-chat | useChat |
AI Elements
Conversation and prompt surfaces for AI features. Installed to components/ai-elements/.
import { ... } from '@/components/ai-elements/<name>';| Primitive | Exports |
|---|---|
agent | Agent, AgentContent, AgentHeader, AgentInstructions, AgentOutput, AgentTool +1 |
artifact | Artifact, ArtifactAction, ArtifactActions, ArtifactClose, ArtifactContent, ArtifactDescription +2 |
attachments | Attachment, AttachmentEmpty, AttachmentHoverCard, AttachmentHoverCardContent, AttachmentHoverCardTrigger, AttachmentInfo +5 |
audio-player | AudioPlayer, AudioPlayerControlBar, AudioPlayerDurationDisplay, AudioPlayerElement, AudioPlayerMuteButton, AudioPlayerPlayButton +5 |
chain-of-thought | ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults +1 |
checkpoint | Checkpoint, CheckpointIcon, CheckpointTrigger |
code-block | CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename +7 |
commit | Commit, CommitActions, CommitAuthor, CommitAuthorAvatar, CommitContent, CommitCopyButton +16 |
confirmation | Confirmation, ConfirmationAccepted, ConfirmationAction, ConfirmationActions, ConfirmationRejected, ConfirmationRequest +1 |
context | Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader +4 |
conversation | Conversation, ConversationContent, ConversationDownload, ConversationEmptyState, ConversationScrollButton |
environment-variables | EnvironmentVariable, EnvironmentVariableCopyButton, EnvironmentVariableGroup, EnvironmentVariableName, EnvironmentVariableRequired, EnvironmentVariableValue +5 |
file-tree | FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName |
image | Image |
inline-citation | InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent +8 |
jsx-preview | JSXPreview, JSXPreviewContent, JSXPreviewError, useJSXPreview |
message | Message, MessageAction, MessageActions, MessageBranch, MessageBranchContent, MessageBranchNext +6 |
mic-selector | MicSelector, MicSelectorContent, MicSelectorEmpty, MicSelectorInput, MicSelectorItem, MicSelectorLabel +4 |
model-selector | ModelSelector, ModelSelectorContent, ModelSelectorDialog, ModelSelectorEmpty, ModelSelectorGroup, ModelSelectorInput +8 |
open-in-chat | OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInCursor, OpenInItem +6 |
package-info | PackageInfo, PackageInfoChangeType, PackageInfoContent, PackageInfoDependencies, PackageInfoDependency, PackageInfoDescription +3 |
persona | Persona |
plan | Plan, PlanAction, PlanContent, PlanDescription, PlanFooter, PlanHeader +2 |
prompt-input | LocalReferencedSourcesContext, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem +33 |
queue | Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemAttachment, QueueItemContent +9 |
reasoning | Reasoning, ReasoningContent, ReasoningTrigger, useReasoning |
sandbox | Sandbox, SandboxContent, SandboxHeader, SandboxTabContent, SandboxTabs, SandboxTabsBar +2 |
schema-display | SchemaDisplay, SchemaDisplayBody, SchemaDisplayContent, SchemaDisplayDescription, SchemaDisplayExample, SchemaDisplayHeader +7 |
shimmer | Shimmer |
snippet | Snippet, SnippetAddon, SnippetCopyButton, SnippetInput, SnippetText |
sources | Source, Sources, SourcesContent, SourcesTrigger |
speech-input | SpeechInput |
stack-trace | StackTrace, StackTraceActions, StackTraceContent, StackTraceCopyButton, StackTraceError, StackTraceErrorMessage +4 |
suggestion | Suggestion, Suggestions |
task | Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger |
terminal | Terminal, TerminalActions, TerminalClearButton, TerminalContent, TerminalCopyButton, TerminalHeader +2 |
test-results | Test, TestDuration, TestError, TestErrorMessage, TestErrorStack, TestName +11 |
tool | Tool, ToolContent, ToolHeader, ToolInput, ToolOutput |
transcription | Transcription, TranscriptionSegment |
voice-selector | VoiceSelector, VoiceSelectorAccent, VoiceSelectorAge, VoiceSelectorAttributes, VoiceSelectorBullet, VoiceSelectorContent +14 |
web-preview | WebPreview, WebPreviewBody, WebPreviewConsole, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl |