mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
66 lines
964 B
TypeScript
66 lines
964 B
TypeScript
// All available UI components.
|
|
export const UI_COMPONENTS = [
|
|
"accordion",
|
|
"alert",
|
|
"alert-dialog",
|
|
"aspect-ratio",
|
|
"avatar",
|
|
"badge",
|
|
"breadcrumb",
|
|
"button",
|
|
"button-group",
|
|
"calendar",
|
|
"card",
|
|
"carousel",
|
|
"chart",
|
|
"checkbox",
|
|
"collapsible",
|
|
"combobox",
|
|
"command",
|
|
"context-menu",
|
|
"data-table",
|
|
"date-picker",
|
|
"dialog",
|
|
"direction",
|
|
"drawer",
|
|
"dropdown-menu",
|
|
"empty",
|
|
"field",
|
|
"form",
|
|
"hover-card",
|
|
"input",
|
|
"input-group",
|
|
"input-otp",
|
|
"item",
|
|
"kbd",
|
|
"label",
|
|
"menubar",
|
|
"native-select",
|
|
"navigation-menu",
|
|
"pagination",
|
|
"popover",
|
|
"progress",
|
|
"radio-group",
|
|
"resizable",
|
|
"scroll-area",
|
|
"select",
|
|
"separator",
|
|
"sheet",
|
|
"sidebar",
|
|
"skeleton",
|
|
"slider",
|
|
"sonner",
|
|
"spinner",
|
|
"switch",
|
|
"table",
|
|
"tabs",
|
|
"textarea",
|
|
"toast",
|
|
"toggle",
|
|
"toggle-group",
|
|
"tooltip",
|
|
"typography",
|
|
] as const
|
|
|
|
export type UIComponent = (typeof UI_COMPONENTS)[number]
|