---
title: "Components"
description: "Every component, one variant per card. Open one for its examples, install command and props."
---

> Documentation Index
> Fetch the complete documentation index at: https://nimbus-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Components

- [Accordion](https://nimbus-docs.com/components/accordion/) — Disclosure cards — chevron + title row that expands to reveal content. Group several to render as one bordered card.
- [Aside](https://nimbus-docs.com/components/aside/) — Boxed callout for inline emphasis — note, tip, caution, and danger variants out of the box.
- [Badge](https://nimbus-docs.com/components/badge/) — Compact status pill for tagging, categorisation, and inline emphasis.
- [Banner](https://nimbus-docs.com/components/banner/) — Announcement strip — semantic types, sanitised HTML content, optional persistent dismiss.
- [Breadcrumbs](https://nimbus-docs.com/components/breadcrumbs/) — Hierarchical trail to the current page — collapses long paths with an ellipsis.
- [Button](https://nimbus-docs.com/components/button/) — Action trigger with variant, size, and shape options. Shares its styling with LinkButton.
- [Card](https://nimbus-docs.com/components/card/) — Boxed content block with icon, title, and slot — group with CardGrid for responsive layouts.
- [CardGrid](https://nimbus-docs.com/components/card-grid/) — Responsive 1–2 column grid for Card lists — drops to a single column on narrow viewports.
- [Code](https://nimbus-docs.com/components/code/) — Syntax-highlighted code block — Shiki transformers add filename frames, line highlights, diff, focus, error/warning notation, and word highlights.
- [CodeGroup](https://nimbus-docs.com/components/code-group/) — Tabbed code blocks — one tab per snippet. Selection syncs across the page; useful for showing the same operation across languages or runtimes.
- [Collapsible](https://nimbus-docs.com/components/collapsible/) — Single disclosure — trigger that toggles an animated content panel.
- [CopyPrompt](https://nimbus-docs.com/components/copy-prompt/) — One-line prompt with a Copy prompt button, for readers to paste into an AI coding agent.
- [Dialog](https://nimbus-docs.com/components/dialog/) — Modal overlay built on the native <dialog> element — scroll-lock and backdrop dismiss handled automatically.
- [Embed](https://nimbus-docs.com/components/embed/) — Iframe wrapper with ratio lock and sensible defaults for video, maps, and embeds.
- [FileTree](https://nimbus-docs.com/components/file-tree/) — Collapsible directory tree authored as a nested markdown list — folders, files, highlights, and placeholder rows.
- [Frame](https://nimbus-docs.com/components/frame/) — Bordered, padded wrapper for screenshots and media — with optional caption.
- [Icon](https://nimbus-docs.com/components/icon/) — Render SVG icons from local files or Iconify-packaged sets.
- [ImageZoom](https://nimbus-docs.com/components/image-zoom/) — Content images open at full size in one native <dialog>, with keyboard and screen-reader support.
- [LayerCard](https://nimbus-docs.com/components/layer-card/) — Two-layer card — recessed header above a raised content panel. Used internally by PackageManagers.
- [LinkButton](https://nimbus-docs.com/components/link-button/) — Link styled as a button — primary, secondary, and minimal variants in three sizes.
- [LinkCard](https://nimbus-docs.com/components/link-card/) — Link-styled card with an optional leading icon, title, and description. Title and icon shift to primary on hover.
- [PackageManagers](https://nimbus-docs.com/components/package-managers/) — Tabbed code block — one tab per package manager (npm, yarn, pnpm, bun). Tabs sync across instances on the page.
- [PageActions](https://nimbus-docs.com/components/page-actions/) — Per-page actions row — Copy page (Markdown) and View as Markdown, plus optional Updated date.
- [Pagination](https://nimbus-docs.com/components/pagination/) — Previous / next links at the bottom of a doc page — driven by the sidebar tree.
- [Popover](https://nimbus-docs.com/components/popover/) — Anchored floating content — native Popover API, repositions on scroll and resize.
- [Search](https://nimbus-docs.com/components/search/) — Site search dialog — Pagefind-backed full-text search with keyboard shortcuts and zero-result hints.
- [Sidebar](https://nimbus-docs.com/components/sidebar/) — Recursive navigation tree — collapsible groups, persistent open state, scroll restoration.
- [Steps](https://nimbus-docs.com/components/steps/) — Numbered, sequenced instructions — circle markers with auto-counting and connecting lines.
- [Switch](https://nimbus-docs.com/components/switch/) — On/off control for a setting that applies at once.
- [Tabs](https://nimbus-docs.com/components/tabs/) — Tabbed content panels with optional cross-instance synchronization via syncKey.
- [ThemeToggle](https://nimbus-docs.com/components/theme-toggle/) — Light / dark switcher — persists to localStorage, syncs across tabs, no FOUC.
- [TOC](https://nimbus-docs.com/components/toc/) — On-this-page navigation — scroll-spy with animated active indicator and depth-aware indentation.

Source: https://nimbus-docs.com/components/index.mdx
