# Frontal UI > Frontal UI is a React component library built on Base UI: accessible primitives, ready-made particles, hooks, and integration guides. > > Install components with `npx shadcn@latest add @frontal-labs/`. Full concatenated markdown of every page below: /llms.md ## Overview - [Changelog](https://ui.frontal.dev/docs/changelog): Breaking changes, migration guides, and notable updates. - [Get Started](https://ui.frontal.dev/docs/get-started): A quick guide to adding your first component. - [Introduction](https://ui.frontal.dev/docs): A new, modern UI component library built on top of Base UI. Built for developers and AI. - [Roadmap](https://ui.frontal.dev/docs/roadmap): Current state of Frontal UI and where we’re headed next. - [Skills](https://ui.frontal.dev/docs/skills): Give your AI assistant deep knowledge of Frontal UI components, patterns, and best practices. - [Styling](https://ui.frontal.dev/docs/styling): A guide to styling components with our color system. ## Components - [Alert Dialog](https://ui.frontal.dev/docs/components/alert-dialog): A dialog that requires user response to proceed. - [Accordion](https://ui.frontal.dev/docs/components/accordion): A set of collapsible panels with headings and content. - [Alert](https://ui.frontal.dev/docs/components/alert): A callout for displaying important information. - [Aspect Ratio](https://ui.frontal.dev/docs/components/aspect-ratio): Constrains its content to a fixed width-to-height ratio. - [Attachment](https://ui.frontal.dev/docs/components/attachment): Displays an uploaded file with its upload state. - [Autocomplete](https://ui.frontal.dev/docs/components/autocomplete): An input that suggests options as you type. - [Bubble](https://ui.frontal.dev/docs/components/bubble): A chat bubble for a single turn in a conversation. - [Button](https://ui.frontal.dev/docs/components/button): A button or a component that looks like a button. - [Calendar](https://ui.frontal.dev/docs/components/calendar): A date picker component with range and multi-select support. - [Card](https://ui.frontal.dev/docs/components/card): A content container for grouping related information. - [Carousel](https://ui.frontal.dev/docs/components/carousel): A slideshow with motion and swipe support, built on Embla Carousel. - [Chart](https://ui.frontal.dev/docs/components/chart): Composable, accessible charts built on top of Recharts. - [Checkbox Group](https://ui.frontal.dev/docs/components/checkbox-group): Provides shared state to a series of checkboxes. - [Checkbox](https://ui.frontal.dev/docs/components/checkbox): A control allowing the user to toggle between checked and not checked. - [Collapsible](https://ui.frontal.dev/docs/components/collapsible): A collapsible panel controlled by a button trigger. - [Command](https://ui.frontal.dev/docs/components/command): A command palette component built with cmdk and Dialog for searching and executing commands. - [Combobox](https://ui.frontal.dev/docs/components/combobox): An input combined with a list of predefined items to select. - [Context Menu](https://ui.frontal.dev/docs/components/context-menu): A menu that appears at the pointer on right click or long press. - [Dialog](https://ui.frontal.dev/docs/components/dialog): A popup that opens on top of the entire page. - [Date Picker](https://ui.frontal.dev/docs/components/date-picker): A date picker component built with Calendar and Popover. - [Drawer](https://ui.frontal.dev/docs/components/drawer): A panel that slides in from the edge of the screen, with nested drawer support. - [Dropdown Menu](https://ui.frontal.dev/docs/components/dropdown-menu): A menu of actions or options triggered by a button. - [Field](https://ui.frontal.dev/docs/components/field): A component that provides labelling and validation for form controls. - [Empty](https://ui.frontal.dev/docs/components/empty): A container for displaying empty state information. - [Fieldset](https://ui.frontal.dev/docs/components/fieldset): A native fieldset element with a legend. - [Form](https://ui.frontal.dev/docs/components/form): A form wrapper component that simplifies validation and submission. - [Frame](https://ui.frontal.dev/docs/components/frame): A framed container for grouping related information. - [Group](https://ui.frontal.dev/docs/components/group): A component for visually grouping a series of controls. - [Input Group](https://ui.frontal.dev/docs/components/input-group): A flexible component for grouping inputs with addons, buttons, and other elements. - [Kbd](https://ui.frontal.dev/docs/components/kbd): A component for displaying keyboard keys and shortcuts. - [Input](https://ui.frontal.dev/docs/components/input): A native input element. - [Label](https://ui.frontal.dev/docs/components/label): Renders an accessible label associated with controls. - [Menu](https://ui.frontal.dev/docs/components/menu): A list of actions in a dropdown, enhanced with keyboard navigation. - [Menubar](https://ui.frontal.dev/docs/components/menubar): A horizontal bar of menus, like a desktop application menu. - [OTP Field](https://ui.frontal.dev/docs/components/otp-field): A segmented input for one-time passwords and verification codes. - [Pagination](https://ui.frontal.dev/docs/components/pagination): A pagination with page navigation, next and previous links. - [Popover](https://ui.frontal.dev/docs/components/popover): An accessible popup anchored to a button. - [Preview Card](https://ui.frontal.dev/docs/components/preview-card): A popup that appears when a link is hovered, showing a preview for sighted users. - [Progress](https://ui.frontal.dev/docs/components/progress): Displays the status of a task that takes a long time. - [Questionnaire](https://ui.frontal.dev/docs/components/questionnaire): A multi-step form that asks one question at a time. - [Radio Group](https://ui.frontal.dev/docs/components/radio-group): A set of checkable buttons where no more than one of the buttons can be checked at a time. - [Scroll Area](https://ui.frontal.dev/docs/components/scroll-area): A native scroll container with custom scrollbars. - [Separator](https://ui.frontal.dev/docs/components/separator): A separator element accessible to screen readers. - [Select](https://ui.frontal.dev/docs/components/select): A common form component for choosing a predefined value in a dropdown menu. - [Sheet](https://ui.frontal.dev/docs/components/sheet): A flyout that opens from the side of the screen, based on the dialog component. - [Sidebar](https://ui.frontal.dev/docs/components/sidebar): A composable, collapsible application sidebar. - [Skeleton](https://ui.frontal.dev/docs/components/skeleton): A loading state skeleton for your components. - [Slider](https://ui.frontal.dev/docs/components/slider): An input where the user selects a value from within a given range. - [Spinner](https://ui.frontal.dev/docs/components/spinner): An indicator that can be used to show a loading state. - [Switch](https://ui.frontal.dev/docs/components/switch): A control that indicates whether a setting is on or off. - [Tabs](https://ui.frontal.dev/docs/components/tabs): A component for toggling between related panels on the same page. - [Table](https://ui.frontal.dev/docs/components/table): A simple table component for displaying tabular data. - [Textarea](https://ui.frontal.dev/docs/components/textarea): A native textarea element. - [Toggle Group](https://ui.frontal.dev/docs/components/toggle-group): Provides a shared state to a series of toggle buttons. - [Toggle](https://ui.frontal.dev/docs/components/toggle): A two-state button that can be toggled on or off. - [Toolbar](https://ui.frontal.dev/docs/components/toolbar): A container for grouping a set of buttons and controls. - [Tooltip](https://ui.frontal.dev/docs/components/tooltip): A popup that appears when an element is hovered or focused, showing a hint for sighted users. - [Message](https://ui.frontal.dev/docs/components/message): Lays out one conversation turn with its content, actions and branches. - [Badge](https://ui.frontal.dev/docs/components/badge): A badge or a component that looks like a badge. - [Avatar](https://ui.frontal.dev/docs/components/avatar): An image element with a fallback for representing the user. - [Breadcrumb](https://ui.frontal.dev/docs/components/breadcrumb): Displays the path to the current resource using a hierarchy of links. - [Meter](https://ui.frontal.dev/docs/components/meter): A graphical display of a numeric value within a range. - [Number Field](https://ui.frontal.dev/docs/components/number-field): A numeric input element with increment and decrement buttons, and a scrub area. ## Shared - [Artifact](https://ui.frontal.dev/docs/shared/artifact): A titled panel for a generated file or document. - [Canvas](https://ui.frontal.dev/docs/shared/canvas): A pannable node canvas built on React Flow. - [Audio Player](https://ui.frontal.dev/docs/shared/audio-player): An audio player with transport and volume controls. - [Checkpoint](https://ui.frontal.dev/docs/shared/checkpoint): An inline marker for a restorable point in a session. - [Code Block](https://ui.frontal.dev/docs/shared/code-block): Code container with an optional title and a copy button. - [Chain of Thought](https://ui.frontal.dev/docs/shared/chain-of-thought): A collapsible trace of an agent's reasoning steps. - [Commit](https://ui.frontal.dev/docs/shared/commit): A git commit with its metadata and changed files. - [Connection](https://ui.frontal.dev/docs/shared/connection): The line drawn while dragging between canvas handles. - [Context](https://ui.frontal.dev/docs/shared/context): A breakdown of a model's token context usage. - [Controls](https://ui.frontal.dev/docs/shared/controls): Zoom and fit controls for the canvas. - [Environment Variables](https://ui.frontal.dev/docs/shared/environment-variables): A list of environment variables with masked values. - [Edge](https://ui.frontal.dev/docs/shared/edge): Animated and temporary edge renderers for the canvas. - [Mic Selector](https://ui.frontal.dev/docs/shared/mic-selector): A picker for the available audio input devices. - [Model Selector](https://ui.frontal.dev/docs/shared/model-selector): A searchable dialog for choosing a model. - [Node Toolbar](https://ui.frontal.dev/docs/shared/node-toolbar): A toolbar attached to a selected canvas node. - [Node](https://ui.frontal.dev/docs/shared/node): A card-shaped canvas node with source and target handles. - [Open in Chat](https://ui.frontal.dev/docs/shared/open-in-chat): A menu that opens the current query in an external chat app. - [Panel](https://ui.frontal.dev/docs/shared/panel): A floating panel anchored to a corner of the canvas. - [Plan](https://ui.frontal.dev/docs/shared/plan): A collapsible card describing a plan of work. - [Prompt Input](https://ui.frontal.dev/docs/shared/prompt-input): A composer with attachments, tools and a submit button. - [Reasoning](https://ui.frontal.dev/docs/shared/reasoning): A collapsible, streamable reasoning trace. - [Queue](https://ui.frontal.dev/docs/shared/queue): Grouped lists of queued and completed work. - [Sandbox](https://ui.frontal.dev/docs/shared/sandbox): A collapsible sandbox run with tabbed output. - [Schema Display](https://ui.frontal.dev/docs/shared/schema-display): An API endpoint with its parameters and payloads. - [Snippet](https://ui.frontal.dev/docs/shared/snippet): A command line snippet with a copy button. - [Shimmer](https://ui.frontal.dev/docs/shared/shimmer): Text with a travelling highlight, for pending states. - [Sources](https://ui.frontal.dev/docs/shared/sources): A collapsible list of cited sources. - [Speech Input](https://ui.frontal.dev/docs/shared/speech-input): A microphone button that transcribes speech to text. - [Stack Trace](https://ui.frontal.dev/docs/shared/stack-trace): A parsed, collapsible stack trace. - [Suggestion](https://ui.frontal.dev/docs/shared/suggestion): A horizontally scrollable row of suggested prompts. - [Tool](https://ui.frontal.dev/docs/shared/tool): A tool call with its status, input and output. - [Transcription](https://ui.frontal.dev/docs/shared/transcription): A timed transcript that follows playback. - [Web Preview](https://ui.frontal.dev/docs/shared/web-preview): An embedded browser frame with a console. ## Hooks - [useBreakpoint](https://ui.frontal.dev/docs/hooks/use-breakpoint): Current Tailwind breakpoint with min/max helpers. - [useClickOutside](https://ui.frontal.dev/docs/hooks/use-click-outside): Ref that fires a handler on outside pointer down. - [useControllableState](https://ui.frontal.dev/docs/hooks/use-controllable-state): Controlled or uncontrolled state with one API. - [useDebounce](https://ui.frontal.dev/docs/hooks/use-debounce): Debounced value for search and filters. - [useCopyToClipboard](https://ui.frontal.dev/docs/hooks/use-copy-to-clipboard): Copy text to clipboard with a temporary "copied" state. - [useDimensions](https://ui.frontal.dev/docs/hooks/use-dimensions): Live element size via ResizeObserver. - [useDisclosure](https://ui.frontal.dev/docs/hooks/use-disclosure): Open/close state with handy callbacks. - [useHaptics](https://ui.frontal.dev/docs/hooks/use-haptics): Vibration feedback with user preference. - [useEnterSubmit](https://ui.frontal.dev/docs/hooks/use-enter-submit): Enter to submit, Shift+Enter for newline. - [useIntersectionObserver](https://ui.frontal.dev/docs/hooks/use-intersection-observer): Element visibility with IntersectionObserver. - [useIsomorphicLayoutEffect](https://ui.frontal.dev/docs/hooks/use-isomorphic-layout-effect): SSR-safe useLayoutEffect alias. - [useKeyboard](https://ui.frontal.dev/docs/hooks/use-keyboard): Declarative key bindings on document. - [useLocalStorage](https://ui.frontal.dev/docs/hooks/use-local-storage): useState persisted to localStorage. - [useMediaQuery](https://ui.frontal.dev/docs/hooks/use-media-query): Reactive media query hook with Tailwind-like syntax. - [useMobile](https://ui.frontal.dev/docs/hooks/use-mobile): Boolean viewport check for mobile layouts. - [useResizeObserver](https://ui.frontal.dev/docs/hooks/use-resize-observer): Raw ResizeObserver entry for any ref. - [useSound](https://ui.frontal.dev/docs/hooks/use-sound): Named sound effects with mute toggle. - [useThreshold](https://ui.frontal.dev/docs/hooks/use-threshold): Latched threshold crossings with hysteresis. ## Notes - Full documentation dump: https://ui.frontal.dev/llms.md