Skip to Content
ComponentsOverview

Components

Browse the full component library. Each component has a live preview, full source code, and an API tester to fetch it programmatically.

Install any component

npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/<component-name>

All components

294 components
accordion
UI

A vertically stacked set of interactive headings that reveal content.

alert
UI

Displays a callout for important information.

alert-dialog
UI

A modal dialog that interrupts the user with important content and expects a response.

aspect-ratio
UI

Displays content within a desired ratio.

avatar
UI

An image element with a fallback for representing the user.

badge
UI

Displays a badge or a component that looks like a badge.

breadcrumb
UI

Displays the path to the current resource using a hierarchy of links.

button
UI

Displays a button or a component that looks like a button.

button-group
UI

Groups related buttons together.

calendar
UI

A date field component that allows users to enter and edit dates.

card
UI

Displays a card with header, content, and footer.

carousel
UI

A carousel with motion and swipe built using Embla.

chart
UI

Beautiful charts built using Recharts. Copy and paste into your apps.

checkbox
UI

A control that allows the user to toggle between checked and not checked.

collapsible
UI

An interactive component which expands and collapses a panel.

combobox
UI

Autocomplete input and command palette with a list of suggestions.

command
UI

Fast, composable, unstyled command menu for React.

context-menu
UI

Displays a menu to the user triggered by a right click.

dialog
UI

A window overlaid on the primary window, rendering content underneath inert.

direction
UI

A provider to set the text direction for the application.

drawer
UI

A drawer component for React built on top of Vaul.

dropdown-menu
UI

Displays a menu to the user triggered by a button.

empty
UI

Displays an empty state with an icon, title, and description.

field
UI

A form field component with label, description, and message.

form
UI

Building forms with React Hook Form and Zod.

hover-card
UI

For sighted users to preview content available behind a link.

input
UI

Displays a form input field.

input-group
UI

Groups input, button, and addon elements together.

input-otp
UI

Accessible one-time password component with copy paste functionality.

item
UI

A flexible item component for lists, menus, and settings.

kbd
UI

Displays a keyboard shortcut or key combination.

label
UI

Renders an accessible label associated with controls.

menubar
UI

A visually persistent menu common in desktop applications.

native-select
UI

A native HTML select element styled to match the design system.

navigation-menu
UI

A collection of links for navigating websites.

pagination
UI

Pagination with page navigation, previous and next links.

popover
UI

Displays rich content in a portal, triggered by a button.

progress
UI

Displays an indicator showing the completion progress of a task.

radio-group
UI

A set of checkable buttons where only one can be checked at a time.

resizable
UI

Accessible resizable panel groups and layouts with keyboard support.

scroll-area
UI

Augments native scroll functionality for custom, cross-browser styling.

select
UI

Displays a list of options for the user to pick from, triggered by a button.

separator
UI

Visually or semantically separates content.

sheet
UI

Extends the Dialog component to display content that complements the main content of the screen.

sidebar
UI

A composable, themeable and customizable sidebar component.

skeleton
UI

Used to show a placeholder while content is loading.

slider
UI

An input where the user selects a value from within a given range.

sonner
UI

An opinionated toast component for React.

spinner
UI

A loading spinner component.

switch
UI

A control that allows the user to toggle between a checked and not checked state.

table
UI

A responsive table component.

tabs
UI

A set of layered sections of content that are displayed one at a time.

textarea
UI

Displays a form textarea.

toast
UI

A succinct message that is displayed temporarily.

toaster
UI

A toaster component to render toast notifications.

toggle
UI

A two-state button that can be either on or off.

toggle-group
UI

A set of two-state buttons that can be toggled on or off.

tooltip
UI

A popup that displays information related to an element when it receives keyboard focus or the mouse hovers over it.

data-table
UI

A powerful table with sorting, filtering, pagination, and column visibility powered by TanStack Table.

date-picker
UI

A date picker component with calendar popover, supporting single date and date range selection.

typography
UI

A set of typographic components for consistent text styling — headings, paragraphs, blockquotes, lists, and inline code.

search-bar
UI

A search input with keyboard shortcut support, clear button, and command palette integration.

user-menu
UI

A user profile dropdown menu with avatar, name, email, navigation links, and sign-out action.

stats-card
UI

A metric card displaying a value with optional trend indicator, icon, and description.

filter-bar
UI

A horizontal bar of toggleable filter chips with optional counts and a clear button.

share-dialog
UI

A share dialog with copy-to-clipboard, social media links (X, LinkedIn, Email), and native share support.

notification-bell
UI

A notification bell icon with unread count badge and a popover panel listing notifications.

file-upload
UI

A drag-and-drop file upload zone with file list, size validation, and remove actions.

copy-button
UI

A button that copies text to the clipboard with visual feedback on success.

status-indicator
UI

A status dot with optional label indicating online, offline, busy, away, or live states.

timeline
UI

A vertical timeline for displaying chronological events with mineral-colored dots.

pricing-card
UI

A pricing tier card with plan name, price, feature list, CTA button, and optional highlight badge.

rating
UI

An interactive star rating component with hover preview, read-only mode, and mineral gold accent.

use-mobile
Hook

A hook to detect if the current device is mobile.

use-toast
Hook

A hook for managing toast notifications.

utils
Lib

Utility functions including the cn classname helper.

observability
Lib

Structured logging, performance measurement, and error tracking with the [mukoko] prefix.

error-boundary
UI

A React error boundary component that catches render errors and displays a fallback.

section-error-boundary
UI

Section-level error boundary for the 5-layer architecture with retry, named sections, and observability logging.

timeout
Lib

Promise timeout wrapper. Rejects with TimeoutError if an async operation exceeds the specified duration.

circuit-breaker
Lib

Netflix Hystrix-inspired circuit breaker with CLOSED/OPEN/HALF_OPEN state machine, per-provider configs, and observability.

retry
Lib

Retry with exponential backoff, jitter, and configurable retry predicates.

fallback-chain
Lib

Sequential fallback strategy — try stages in order, return first success. Each stage has independent timeout.

ai-safety
Lib

AI safety utilities: input validation, prompt injection detection, and sliding-window rate limiting.

chaos
Lib

Chaos testing utilities for injecting random errors and latency to test resilience. Disabled by default.

lazy-section
UI

TikTok-style sequential mounting component. FIFO queue ensures one section mounts at a time with memory reclaim.

use-memory-pressure
Hook

Monitor JS heap memory pressure via Performance Memory API. Chrome-only with graceful fallback.

architecture
Lib

Mukoko ecosystem architecture specification — local-first data strategy, cloud infrastructure, open data pipeline, and technology sovereignty assessment.

mukoko-sidebar
UI

Standardized sidebar for all Mukoko ecosystem apps. Wraps the sidebar primitive with Mukoko branding, mineral accent strip, section-based navigation, and automatic active state detection. Works across docs, dashboards, settings, and any other context.

mukoko-header
UI

Standardized sticky header for all Mukoko ecosystem apps. Includes logo with app name suffix, desktop navigation, theme toggle, and mobile sidebar trigger.

mukoko-footer
UI

Standardized footer for all Mukoko ecosystem apps. Includes mineral color dots, product links grid, and Nyuchi branding.

mukoko-bottom-nav
UI

Mobile-only bottom navigation bar for Mukoko ecosystem apps. Fixed to bottom with backdrop blur, active state indicator using mineral accent colors, and safe area padding.

detail-layout
UI

Shared detail page layout for articles, events, and listings across the Mukoko ecosystem. Includes hero image, back navigation, metadata row, prose content area, and optional aside column.

dashboard-layout
UI

Full app shell composing MukokoHeader, MukokoSidebar, and MukokoBottomNav into a responsive dashboard layout with collapsible sidebar and mobile navigation.

dashboard-01

Full dashboard layout with stats, chart section, and activity feed.

login-01

Centered card login with email/password and mineral accent stripe.

login-02

Split layout login with brand image left, form right.

login-03

Social login buttons (Google, GitHub) plus email/password form.

login-04

OTP/magic link style login with code input.

login-05

Two-column login with brand showcase and mineral colors.

signup-01

Basic signup with name, email, and password fields.

signup-02

Multi-step signup wizard with progress indicator.

signup-03

Split signup with features showcase panel.

signup-04

Invite-only signup with invite code input.

signup-05

Social and email signup with terms checkbox.

sidebar-01

Basic sidebar with icon and text navigation items.

sidebar-02

Collapsible sidebar with grouped sections.

sidebar-03

Sidebar with search bar at top.

sidebar-04

Sidebar with user profile section.

sidebar-05

Sidebar with nested sub-navigation.

sidebar-06

Icon-only collapsed sidebar.

sidebar-07

Sidebar with badge notification counts.

sidebar-08

Sidebar with header and footer sections.

sidebar-09

Sidebar with grouped navigation categories.

sidebar-10

Floating sidebar detached from edge.

sidebar-11

Sidebar with accordion sections.

sidebar-12

Sidebar with breadcrumb trail.

sidebar-13

Sidebar with quick actions panel.

sidebar-14

Sidebar with theme toggle.

sidebar-15

Sidebar with workspace switcher.

sidebar-16

Full-featured sidebar combining all patterns.

chart-area-default

Area chart — default variant.

chart-area-stacked

Area chart — stacked variant.

chart-area-legend

Area chart — legend variant.

chart-area-interactive

Area chart — interactive variant.

chart-area-linear

Area chart — linear variant.

chart-area-step

Area chart — step variant.

chart-area-axes

Area chart — axes variant.

chart-area-gradient

Area chart — gradient variant.

chart-area-icons

Area chart — icons variant.

chart-area-stacked-expand

Area chart — stacked expand variant.

chart-bar-default

Bar chart — default variant.

chart-bar-stacked

Bar chart — stacked variant.

chart-bar-interactive

Bar chart — interactive variant.

chart-bar-label

Bar chart — label variant.

chart-bar-label-custom

Bar chart — label custom variant.

chart-bar-mixed

Bar chart — mixed variant.

chart-bar-active

Bar chart — active variant.

chart-bar-multiple

Bar chart — multiple variant.

chart-bar-horizontal

Bar chart — horizontal variant.

chart-bar-negative

Bar chart — negative variant.

chart-line-default

Line chart — default variant.

chart-line-interactive

Line chart — interactive variant.

chart-line-linear

Line chart — linear variant.

chart-line-step

Line chart — step variant.

chart-line-label

Line chart — label variant.

chart-line-label-custom

Line chart — label custom variant.

chart-line-dots

Line chart — dots variant.

chart-line-dots-colors

Line chart — dots colors variant.

chart-line-dots-custom

Line chart — dots custom variant.

chart-line-multiple

Line chart — multiple variant.

chart-pie-simple

Pie chart — simple variant.

chart-pie-stacked

Pie chart — stacked variant.

chart-pie-legend

Pie chart — legend variant.

chart-pie-interactive

Pie chart — interactive variant.

chart-pie-label

Pie chart — label variant.

chart-pie-label-custom

Pie chart — label custom variant.

chart-pie-label-list

Pie chart — label list variant.

chart-pie-donut

Pie chart — donut variant.

chart-pie-donut-active

Pie chart — donut active variant.

chart-pie-donut-text

Pie chart — donut text variant.

chart-pie-separator-none

Pie chart — separator none variant.

chart-radar-default

Radar chart — default variant.

chart-radar-legend

Radar chart — legend variant.

chart-radar-dots

Radar chart — dots variant.

chart-radar-icons

Radar chart — icons variant.

chart-radar-multiple

Radar chart — multiple variant.

chart-radar-lines-only

Radar chart — lines only variant.

chart-radar-label-custom

Radar chart — label custom variant.

chart-radar-radius

Radar chart — radius variant.

chart-radar-grid-circle

Radar chart — grid circle variant.

chart-radar-grid-circle-fill

Radar chart — grid circle fill variant.

chart-radar-grid-circle-no-lines

Radar chart — grid circle no lines variant.

chart-radar-grid-custom

Radar chart — grid custom variant.

chart-radar-grid-fill

Radar chart — grid fill variant.

chart-radar-grid-none

Radar chart — grid none variant.

chart-radial-simple

Radial chart — simple variant.

chart-radial-stacked

Radial chart — stacked variant.

chart-radial-label

Radial chart — label variant.

chart-radial-text

Radial chart — text variant.

chart-radial-grid

Radial chart — grid variant.

chart-radial-shape

Radial chart — shape variant.

chart-tooltip-default

Tooltip chart — default variant.

chart-tooltip-icons

Tooltip chart — icons variant.

chart-tooltip-advanced

Tooltip chart — advanced variant.

chart-tooltip-formatter

Tooltip chart — formatter variant.

chart-tooltip-indicator-line

Tooltip chart — indicator line variant.

chart-tooltip-indicator-none

Tooltip chart — indicator none variant.

chart-tooltip-label-custom

Tooltip chart — label custom variant.

chart-tooltip-label-formatter

Tooltip chart — label formatter variant.

chart-tooltip-label-none

Tooltip chart — label none variant.

profile-page

Standard profile page with cover image, avatar, stats, tabs, and action buttons.

profile-settings

Standard settings page with sidebar navigation and content sections.

onboarding-flow

Multi-step onboarding flow with progress indicator, profile setup, and interest selection.

error-page

Standard error page for 404, 500, and 503 states with mineral accent.

empty-state

Standard empty state with icon, title, description, and call-to-action.

notification-center

Notification center with tabs for all, unread, and mentions with grouped items.

search-results

Standard search results page with filters, result items, and pagination.

command-center

Spotlight-style command palette with search, grouped results, and keyboard hints.

activity-feed
UI

Chronological action list with timeline pattern for dashboards and profiles.

ai-chat
UI

Complete AI conversation interface with message history, streaming, and suggested prompts.

announcement-bar
UI

Dismissible top-of-page banner for announcements with mineral-colored variants.

autocomplete
UI

Text input with async suggestion dropdown, loading states, and keyboard navigation.

avatar-group
UI

Overlapping avatar stack with +N overflow indicator for team displays.

category-browser
UI

Grid of browsable categories with icons, counts, and mineral-colored accents.

chat-bubble
UI

Single message display with sent/received variants, avatar, timestamp, and status.

chat-input
UI

Message composer with auto-growing textarea, send button, and keyboard shortcuts.

chat-list
UI

Scrollable conversation list with unread counts and active highlight.

code-block
UI

Enhanced code display with language badge, line numbers, copy button, and filename.

cookie-consent
UI

GDPR/POPIA-compliant consent banner with accept, decline, and manage options.

date-range-picker
UI

Dual-calendar popover for selecting date ranges with preset quick-selects.

endpoint-card
UI

API endpoint display with method badge, path, and description.

infinite-scroll
UI

IntersectionObserver-based scroll sentinel for loading more content.

json-viewer
UI

Collapsible JSON tree view with syntax coloring and type indicators.

kanban-board
UI

Column-based board for organizing items by status with drag indicators.

listing-card
UI

Directory listing card with image, title, metadata, and badges.

log-viewer
UI

Scrollable filterable log output with severity coloring and auto-scroll.

markdown-renderer
UI

Themed markdown-to-HTML renderer with design system typography and colors.

notification-list
UI

Notification feed with read/unread states, timestamps, and date grouping.

page-header
UI

Standard page header with breadcrumbs, title, description, and action slot.

password-strength
UI

Visual password strength meter with requirement checklist.

phone-input
UI

Phone number input with country code selector, African countries prioritized.

profile-header
UI

Full-width profile banner with avatar, name, bio, stats, and actions.

prompt-input
UI

Expandable AI prompt input with send/stop buttons and streaming support.

property-list
UI

Key-value pair display with labels, values, and optional copy actions.

section-header
UI

Section divider with title, description, action, and mineral accent.

settings-layout
UI

Two-column settings page layout with sticky sidebar navigation.

split-view
UI

Responsive master-detail layout that collapses on mobile.

stepper
UI

Multi-step wizard navigation with horizontal/vertical orientation variants.

tag-input
UI

Token-based input for multiple values as dismissible badges.

tree-view
UI

Hierarchical expandable/collapsible node list for nested data.

user-card
UI

Compact user profile card with avatar, name, role, and actions.

virtual-list
UI

Virtualized list for large datasets using CSS transforms.

rich-text-editor
UI

Simple WYSIWYG editor with toolbar for bold, italic, heading, list, and link formatting.

code-editor
UI

Code input with line numbers, monospace font, and tab key support.

color-picker
UI

Color selector with hex input and preset swatches including Five African Minerals.

time-picker
UI

Hour and minute selector with optional AM/PM toggle.

address-input
UI

Structured address form with street, city, state, postal code, and country fields with African countries prioritized.

transfer-list
UI

Dual-list selector with search filtering and arrow buttons to move items between panels.

number-input
UI

Numeric input with increment and decrement buttons, min/max/step support.

app-switcher
UI

Ecosystem app selector popover with grid of Mukoko app icons.

bottom-sheet
UI

Mobile slide-up panel with drag handle, backdrop, and slide-up animation.

mega-menu
UI

Full-width flyout navigation with columns of links grouped by section.

review-card
UI

Review or testimonial display with star rating, author info, and review text.

contact-card
UI

Contact information card with avatar, details, and action links for call and email.

featured-card
UI

Promoted content card with mineral accent border, featured badge, and image.

agenda-view
UI

Chronological event list grouped by date.

ai-feedback
UI

Thumbs up/down rating for AI responses with optional text feedback.

ai-response-card
UI

Structured AI output card with markdown rendering and action buttons.

api-key-display
UI

Masked/revealable API key with copy and regenerate actions.

audio-player
UI

Audio playback with progress bar, play/pause, and speed control.

audit-log-entry
UI

Audit event display with actor, action, target, timestamp.

calendar-day-view
UI

Single-day time grid with hourly slots and event blocks.

calendar-week-view
UI

7-column weekly calendar view with hourly time slots.

cart-item
UI

Shopping cart line item with quantity controls and remove action.

changelog-entry
UI

Version update card with categorized changes.

chat-layout
UI

Full chat page layout with sidebar conversations and main chat area.

checklist
UI

Interactive checklist with add, reorder, and completion tracking.

code-tabs
UI

Tabbed code display for multiple languages/frameworks.

comment-thread
UI

Threaded comments with nested replies and actions.

description-list
UI

Semantic key-value display using dl/dt/dd elements.

drag-handle
UI

Grip indicator for drag-and-drop reordering.

env-editor
UI

Key-value environment variable editor with secret masking.

event-card
UI

Compact event display with mineral-category colored border.

file-preview
UI

File preview card with icon, name, and size display.

invoice-row
UI

Invoice line item with date, amount, status badge, and download.

lightbox
UI

Full-screen image viewer with gallery navigation.

maintenance-page
UI

Full-page maintenance mode display with estimated return time.

masonry-grid
UI

CSS columns-based variable-height grid layout.

mention-input
UI

Text input with @mention autocomplete for users.

message-thread
UI

Nested reply thread with indentation and collapse/expand.

mfa-setup
UI

MFA enrollment card with QR code and verification step.

note-card
UI

Compact note display with title, excerpt, and timestamp.

onboarding-tour
UI

Step-by-step spotlight overlay guiding users through UI features.

order-summary
UI

Order total breakdown with line items and total.

payment-method-card
UI

Payment method display with card brand and last four digits.

permission-badge
UI

Role/permission indicator badge with color coding.

price-display
UI

Formatted price with currency, original price, and discount badge.

product-card
UI

Product display with image, title, price, and actions.

pull-to-refresh
UI

Mobile pull-down-to-refresh gesture handler.

reaction-picker
UI

Emoji reaction selector popover with counts.

role-selector
UI

Role picker with descriptions and permission previews.

schema-viewer
UI

JSON schema tree display with type badges.

session-list
UI

Active session display with device, location, and revoke.

source-citation
UI

Citation card linking AI responses to source documents.

sticky-bar
UI

Position-sticky container for headers or action bars.

streaming-text
UI

Typewriter effect text renderer for streaming LLM output.

subscription-card
UI

Plan comparison card with features, price, and CTA.

suggested-prompts
UI

Scrollable prompt chips for AI conversations.

time-slot-picker
UI

Selectable grid of available time slots for booking.

todo-item
UI

Checkable task item with priority, due date, and assignee.

typing-indicator
UI

Animated dots showing someone is typing.

video-player
UI

Themed video player wrapper with custom controls.

webhook-card
UI

Webhook endpoint configuration display with status.

Last updated on