Skip to content

Components

All components are imported from tango-api and rendered inside a UIRoot wrapper. They use the tui- CSS prefix and are fully self-contained — no external theme required.

import { UIRoot, UIButton, UICard, UISection } from "tango-api";
ComponentDescriptionPage
UIRootRequired wrapper — injects Tango UI stylesheet and CSS variablesView
UIPanelHeaderHeader bar with title, subtitle, back button, and right-side actionsView
UISectionGroups content with optional title and descriptionView
UICardBordered container for grouping contentView
UIContainerGeneric wrapper container with optional class nameView
UIScrollAreaScrollable content containerView
UIFooterFooter wrapper for bottom-of-panel actionsView
ComponentDescriptionPage
UIButtonAction button with variants: primary, secondary, ghost, danger, successView
UIIconButtonIcon-only button for toolbars and compact actionsView
UITabsTab navigation with content panelsView
ComponentDescriptionPage
UIInputSingle-line text inputView
UITextareaMulti-line text inputView
UISelectNative HTML select dropdownView
UIDropdownCustom dropdown with React-managed stateView
UIToggleToggle switch for boolean settingsView
UICheckboxCheckbox for boolean optionsView
UIRadioGroupRadio button group for single selectionView
UISegmentedControlButton group for toggling between optionsView
ComponentDescriptionPage
UIBadgeLabel badge with tones: neutral, info, success, warning, dangerView
UIIconSVG icon component with built-in icon setView
UIInlineCodeInline code snippetView
UIKeyValueKey-value pair displayView
UILinkStyled hyperlinkView
UIEmptyStatePlaceholder for empty content areasView
ComponentDescriptionPage
UIListSimple list with UIListItem childrenView
UISelectionListSingle or multi-select item listView
UIGroupExpandable/collapsible group with header, items, and actionsView
ComponentDescriptionPage
UITreeViewFile-tree style hierarchical viewView
UIDiffRendererUnified/split diff viewer with syntax highlightingView
UIMarkdownRendererMarkdown renderer with preview/raw toggle and code copyView