shadcn-cpp
Native C++23 and Qt 6 components for desktop applications.
The API uses normal Qt widgets, layouts and signals. The components follow the stock shadcn/ui Nova references while keeping Qt ownership and accessibility rules.
The project is at version 0.1.1. The guide covers all 62 stock component entries and three C++ recipes. Build the gallery or add the source to a CMake project to try them.
Components


Button
Variants, sizes, focus and keyboard activation.


Card
Header, content, action and footer layouts.


Input
Text entry with placeholder and error state.


Badge
Compact status text with shared variants.


Label
Text labels connected to native controls.


Checkbox
Checked, unchecked and mixed states.


Switch
Toggle state with native keyboard support.


Separator
A one pixel horizontal or vertical rule.


Progress
Determinate and indeterminate progress.


Skeleton
A loading placeholder with reduced motion support.


Dialog
Modal content with focus restoration.


Alert dialog
A confirmation modal with explicit actions.


Sheet
A panel attached to a window edge.


Drawer
A bottom sheet with a drag handle.


Popover
An anchored popup with edge collision handling.


Tooltip
A delayed hint that keeps focus in place.


Hover card
Supplemental content that stays reachable.
Start here
Read get started for a CMake build and a complete Qt application. The C++ API explains the core types, widget ownership and generated declarations.
Browse the full component catalogue for the complete ordered list.