# Fruit Design > Calm, glassy, rounded React components and CSS, light and dark. MIT. - [Install and rules](https://design.fruitlabs.online/llms-full.txt) ## Components - [Accordion](https://design.fruitlabs.online/api/components/accordion.json): Expandable sections for FAQs and grouped settings. - [AgentPlan](https://design.fruitlabs.online/api/components/agent-plan.json): Task plan with progress bar and step timeline that updates as the agent works. - [AgentStatus](https://design.fruitlabs.online/api/components/agent-status.json): Status dot + word for an agent or run: idle, thinking, running, waiting, done, error. - [AppHeader](https://design.fruitlabs.online/api/components/app-header.json): Glass top bar: brand, primary nav, then any right-side children (search, bell, account). - [ApprovalCard](https://design.fruitlabs.online/api/components/approval-card.json): Human-in-the-loop request: what the agent wants to do, risk level, details, Deny / Always allow / Allow once. - [ArtifactPanel](https://design.fruitlabs.online/api/components/artifact-panel.json): Side panel for an agent's output (document, code, preview) with tabs and actions. - [AspectRatio](https://design.fruitlabs.online/api/components/aspect-ratio.json): Keeps media at a fixed ratio (16:9 default). - [AttachmentChip](https://design.fruitlabs.online/api/components/attachment-chip.json): File attached to a prompt or message, with type tag, name, size and remove. - [Autocomplete](https://design.fruitlabs.online/api/components/autocomplete.json): Combobox: type to filter suggestions (or fetch them with onSearch + loading), match highlighted, keyboard navigation, free text allowed. - [Avatar](https://design.fruitlabs.online/api/components/avatar.json): Round avatar: image or initials on a fruit color derived from the name. - [AvatarGroup](https://design.fruitlabs.online/api/components/avatar-group.json): Overlapping avatars with a +N overflow. - [Badge](https://design.fruitlabs.online/api/components/badge.json): Small status label; tone pairs color with a word. - [Banner](https://design.fruitlabs.online/api/components/banner.json): Page-level persistent message across the top of a page or section. - [BarChart](https://design.fruitlabs.online/api/components/bar-chart.json): Grouped or stacked bars on one axis with hover tooltip, legend (2+ series) and a table view. - [Breadcrumbs](https://design.fruitlabs.online/api/components/breadcrumbs.json): Path to the current page; last item is the current page. - [Button](https://design.fruitlabs.online/api/components/button.json): Capsule button in five styles and three sizes, with optional icons and a loading state. - [ButtonGroup](https://design.fruitlabs.online/api/components/button-group.json): Groups related buttons; `attached` joins them into one capsule. - [Calendar](https://design.fruitlabs.online/api/components/calendar.json): Inline month calendar (single or range). - [Callout](https://design.fruitlabs.online/api/components/callout.json): Inline tinted message in the page flow: info, success, warning, danger. - [Card](https://design.fruitlabs.online/api/components/card.json): Content container on surface with optional title, subtitle and header actions. - [Carousel](https://design.fruitlabs.online/api/components/carousel.json): Slides with prev/next glass buttons and dots; keyboard and screen-reader labelled. - [ChatMessage](https://design.fruitlabs.online/api/components/chat-message.json): One chat turn: user bubble on the right, assistant text on the left with avatar, attachments and actions. - [Checkbox](https://design.fruitlabs.online/api/components/checkbox.json): Checkbox with checked, unchecked and indeterminate states, plus required, hint and visible error. - [Chip](https://design.fruitlabs.online/api/components/chip.json): Filter chip: toggles a filter on or off, or shows a removable applied filter. - [Citation](https://design.fruitlabs.online/api/components/citation.json): Inline numbered citation marker linking to a source. - [CodeBlock](https://design.fruitlabs.online/api/components/code-block.json): Monospace code panel with title and copy button. - [Collapsible](https://design.fruitlabs.online/api/components/collapsible.json): Single show/hide section. - [ColorPicker](https://design.fruitlabs.online/api/components/color-picker.json): Swatch grid plus hex field. - [CommandPalette](https://design.fruitlabs.online/api/components/command-palette.json): ⌘K command menu: search, grouped results, keyboard first. - [ConfirmDialog](https://design.fruitlabs.online/api/components/confirm-dialog.json): Alert dialog that confirms an action; `tone="danger"` for destructive ones. - [Container](https://design.fruitlabs.online/api/components/container.json): Centered page container with max width and responsive side padding. - [ContextMenu](https://design.fruitlabs.online/api/components/context-menu.json): Right-click menu on any area; same items API as Menu. - [ConversationList](https://design.fruitlabs.online/api/components/conversation-list.json): Sidebar list of chats or agent runs, grouped by date, with live status. - [CopyButton](https://design.fruitlabs.online/api/components/copy-button.json): Icon button that copies text to the clipboard and confirms with a check. - [CountBadge](https://design.fruitlabs.online/api/components/count-badge.json): Red numeric badge for unread counts. - [CurrencyInput](https://design.fruitlabs.online/api/components/currency-input.json): Money amount with the currency symbol, locale grouping (12,00,000 in en-IN), and an attached currency code. - [DatePicker](https://design.fruitlabs.online/api/components/date-picker.json): Date or date-range field that opens a calendar popover. - [DiffView](https://design.fruitlabs.online/api/components/diff-view.json): Unified diff of a proposed code change with +/− counts. - [Divider](https://design.fruitlabs.online/api/components/divider.json): 1px hairline separator. - [DonutChart](https://design.fruitlabs.online/api/components/donut-chart.json): Part-to-whole for ≤5 slices with center total, hover detail and % legend. - [Drawer](https://design.fruitlabs.online/api/components/drawer.json): Side sheet for details and edits without leaving the page; bottom sheet on phones. - [EmptyState](https://design.fruitlabs.online/api/components/empty-state.json): What's missing and one action to fix it. - [Field](https://design.fruitlabs.online/api/components/field.json): Label + control + hint/error wrapper; adds a required asterisk or an (optional) marker. - [FileItem](https://design.fruitlabs.online/api/components/file-item.json): One uploaded or uploading file with type tag, progress or size, and remove. - [FileUpload](https://design.fruitlabs.online/api/components/file-upload.json): Click-or-drop zone with a visible label, custom title, hint, sizes and error; pair with FileItem rows. - [Form](https://design.fruitlabs.online/api/components/form.json): Form recipe: grid layout, sections, required fields, inline validation on blur, error summary, submit with loading. Includes useForm(), FormRow and FormSection. - [GlassPanel](https://design.fruitlabs.online/api/components/glass-panel.json): Translucent material: fill + 22px backdrop blur + 180% saturation + a bright top edge. - [Grid](https://design.fruitlabs.online/api/components/grid.json): CSS grid with N equal columns or auto-fill by `min` width. - [Heading](https://design.fruitlabs.online/api/components/heading.json): Semantic heading (h1–h6) mapped to the type ramp. - [HoverCard](https://design.fruitlabs.online/api/components/hover-card.json): Preview card on hover/focus of a link or avatar. - [Icon](https://design.fruitlabs.online/api/components/icon.json): Stroke icon set, 24px grid, 2px stroke, round caps; inherits currentColor. - [IconButton](https://design.fruitlabs.online/api/components/icon-button.json): Round icon-only button, 44px by default (32 / 56 for sm / lg). - [InputOTP](https://design.fruitlabs.online/api/components/input-otp.json): One-time code: N boxes, auto-advance, paste fills all, onComplete when full. - [Kbd](https://design.fruitlabs.online/api/components/kbd.json): Keycap for keyboard shortcuts. - [LineChart](https://design.fruitlabs.online/api/components/line-chart.json): Trend over time: 2px lines, crosshair + tooltip on hover, optional area for one series, table view. - [Link](https://design.fruitlabs.online/api/components/link.json): Inline text link in accent ink; `external` opens a new tab with an icon. - [List](https://design.fruitlabs.online/api/components/list.json): Inset grouped list with optional header and footer; holds ListRow items. - [ListRow](https://design.fruitlabs.online/api/components/list-row.json): One list row: icon tile, title, subtitle, value, trailing control, chevron. - [Menu](https://design.fruitlabs.online/api/components/menu.json): Dropdown or context menu on strong glass; keyboard navigable. - [Menubar](https://design.fruitlabs.online/api/components/menubar.json): Desktop-app style menu bar (File, Edit, View) with dropdown menus. - [MessageActions](https://design.fruitlabs.online/api/components/message-actions.json): Copy, thumbs up/down and regenerate under an assistant reply. - [Modal](https://design.fruitlabs.online/api/components/modal.json): Dialog for focused tasks: header, scrollable body, footer. Traps focus; Esc and scrim close it. - [ModelPicker](https://design.fruitlabs.online/api/components/model-picker.json): Compact select for choosing a model or agent. - [MultiSelect](https://design.fruitlabs.online/api/components/multi-select.json): Select preset with multiple=true, search and clear: chips in the trigger, checkboxes in the list. - [NumberInput](https://design.fruitlabs.online/api/components/number-input.json): Numeric field with design +/− buttons, arrow-key stepping, min/max clamp, prefix/suffix. - [Pagination](https://design.fruitlabs.online/api/components/pagination.json): Page buttons with prev/next and ellipses. - [PasswordField](https://design.fruitlabs.online/api/components/password-field.json): TextField preset for passwords: lock icon, show/hide toggle, optional strength meter. - [PhoneInput](https://design.fruitlabs.online/api/components/phone-input.json): Phone number with a searchable country-code dropdown (search by country or +code) and a tel input. - [Popover](https://design.fruitlabs.online/api/components/popover.json): Floating panel anchored to a trigger for rich, interactive content. - [Progress](https://design.fruitlabs.online/api/components/progress.json): Linear progress, determinate or indeterminate (omit `value`). - [ProgressRing](https://design.fruitlabs.online/api/components/progress-ring.json): Circular progress for compact spaces. - [PromptInput](https://design.fruitlabs.online/api/components/prompt-input.json): Auto-growing composer: Enter sends, Shift+Enter new line, attach, tools, model slot, send/stop. - [Radio](https://design.fruitlabs.online/api/components/radio.json): Single radio input. Prefer RadioGroup. - [RadioGroup](https://design.fruitlabs.online/api/components/radio-group.json): Single choice from a short list, as a fieldset of radios; supports required, hint and error. - [Rating](https://design.fruitlabs.online/api/components/rating.json): Star rating input or read-only display. - [Reasoning](https://design.fruitlabs.online/api/components/reasoning.json): Collapsible “Thinking…” / “Thought for 8s” disclosure for model reasoning. - [ScrollArea](https://design.fruitlabs.online/api/components/scroll-area.json): Scrollable region with thin themed scrollbar, keyboard focusable. - [SearchField](https://design.fruitlabs.online/api/components/search-field.json): Pill search input that can hold search tags (tokens); Enter turns the text into a tag, Backspace removes the last one. - [SegmentedControl](https://design.fruitlabs.online/api/components/segmented-control.json): Pill-shaped switcher between 2–5 views or modes. - [Select](https://design.fruitlabs.online/api/components/select.json): Design dropdown (no native select): single or multiple, optional search box, groups, icons, descriptions, clearable, keyboard support. - [Sidebar](https://design.fruitlabs.online/api/components/sidebar.json): App navigation column with sections, counts and colored team dots. - [Skeleton](https://design.fruitlabs.online/api/components/skeleton.json): Shimmering placeholder that matches the layout it replaces. - [Slider](https://design.fruitlabs.online/api/components/slider.json): Custom slider (no native range): pointer drag, keyboard (arrows, Page, Home/End), single value or range, value tooltip. - [SourceList](https://design.fruitlabs.online/api/components/source-list.json): Numbered source pills for grounded answers; pair with inline Citation markers. - [Sparkline](https://design.fruitlabs.online/api/components/sparkline.json): Tiny inline trend line for tables and stat tiles. - [Spinner](https://design.fruitlabs.online/api/components/spinner.json): Indeterminate loading spinner. - [Stack](https://design.fruitlabs.online/api/components/stack.json): Flex stack with token gaps (gap={4} = 16px). - [StatTile](https://design.fruitlabs.online/api/components/stat-tile.json): KPI tile: label, big tabular value, delta badge with arrow, footnote. - [Stepper](https://design.fruitlabs.online/api/components/stepper.json): Minus/plus control for small integer adjustments. - [Steps](https://design.fruitlabs.online/api/components/steps.json): Progress through a multi-step flow (done, current, upcoming). - [SuggestionChips](https://design.fruitlabs.online/api/components/suggestion-chips.json): Starter prompts shown before the first message. - [Switch](https://design.fruitlabs.online/api/components/switch.json): On/off switch for settings that apply immediately; supports required, hint and error. - [TabBar](https://design.fruitlabs.online/api/components/tab-bar.json): Floating glass tab bar for phone layouts. - [Table](https://design.fruitlabs.online/api/components/table.json): Data table: toolbar slot, sortable columns, row selection, custom cells, empty state, footer. - [Tabs](https://design.fruitlabs.online/api/components/tabs.json): Underline or pill tabs with keyboard arrows; optional panels via `content`. - [TagInput](https://design.fruitlabs.online/api/components/tag-input.json): Multi-value input: type and press Enter or comma to add tags, Backspace to remove; optional suggestions, max and allowCustom. - [Text](https://design.fruitlabs.online/api/components/text.json): Paragraph/inline text with type-ramp size and tone (secondary, accent, danger, success). - [TextField](https://design.fruitlabs.online/api/components/text-field.json): Labelled input with prefix/suffix, attached add-ons, password reveal, strength meter, clear button, sizes and validation states. - [Textarea](https://design.fruitlabs.online/api/components/textarea.json): Multi-line input with sizes, required/optional, error and character count. - [ThemeProvider](https://design.fruitlabs.online/api/components/theme-provider.json): Sets `data-theme` on (light, dark or system) and wraps the app in the .fd-root base. - [TimePicker](https://design.fruitlabs.online/api/components/time-picker.json): Time slot dropdown built on Select (searchable), 12h or 24h, configurable step and hours. - [Timeline](https://design.fruitlabs.online/api/components/timeline.json): Vertical list of events or steps with status dots. - [Toast](https://design.fruitlabs.online/api/components/toast.json): Transient confirmation with optional action (Undo) and dismiss. Use via Toaster + toast(). - [Toaster](https://design.fruitlabs.online/api/components/toaster.json): Toast region (bottom-right). Pair with the `toast()` function. - [Toggle](https://design.fruitlabs.online/api/components/toggle.json): Two-state button (bold, mute, pin). - [ToggleGroup](https://design.fruitlabs.online/api/components/toggle-group.json): Row of toggles; single or multiple selection (text alignment, view mode, formatting). - [TokenMeter](https://design.fruitlabs.online/api/components/token-meter.json): Context/usage meter that turns orange above 70% and red above 90%. - [ToolCall](https://design.fruitlabs.online/api/components/tool-call.json): Collapsible card for one tool/function call: name, summary, status, duration, input and output. - [Tooltip](https://design.fruitlabs.online/api/components/tooltip.json): Short inverted text hint on hover/focus. Never interactive. - [TreeView](https://design.fruitlabs.online/api/components/tree-view.json): Hierarchical list (files, folders, categories) with expand/collapse and selection; arrow keys open and close. - [TypingIndicator](https://design.fruitlabs.online/api/components/typing-indicator.json): Three pulsing dots while the assistant prepares a reply.