Glossary
Plain definitions of the UI patterns and front-end terms that come up when you build product interfaces with React and Tailwind CSS. Each one links to components that put it into practice.
#
A
- Accordion
- An accordion is a vertical stack of headings that each expand or collapse a section of content, so users reveal only the parts they need.
- AGENTS.md
- AGENTS.md is a Markdown file in a repository that tells AI coding agents how to work in it: setup, commands, conventions and rules to follow.
- ARIA
- ARIA (Accessible Rich Internet Applications) is a W3C set of HTML attributes that tells assistive technology what custom UI elements are and their state.
- Avatar
- An avatar is a small image, usually round, that represents a person, team or organization, with initials or an icon shown when no image is available.
B
- backdrop-filter (CSS)
- backdrop-filter is a CSS property that applies filters such as blur or saturate to whatever is rendered behind an element, the basis of frosted glass UI.
- Badge
- A badge is a small, non-interactive label attached to another element that shows a status, a category or a count, such as Paid, Beta or 3 unread.
- Banner
- A banner is a persistent message bar across the top of a page or section that stays visible until the situation it describes changes or the user dismisses it.
- Base UI
- Base UI is an open source library of unstyled, accessible React components from the team behind Radix, Floating UI and Material UI.
- Bento grid
- A bento grid is a layout of rectangular tiles in different sizes on one shared grid, used to show several features or stats at once, like a bento box.
- Breadcrumbs
- Breadcrumbs are a row of links showing where the current page sits in a site's hierarchy, letting users jump back to any parent level.
C
- Card
- A card is a bordered or shadowed container that groups a related set of content and actions into one unit, such as a product, a stat or a post.
- clamp() (CSS)
- The CSS clamp() function picks a value between a minimum and a maximum from a preferred value in between, so one expression replaces several media queries.
- color-mix()
- The CSS color-mix() function blends two colors by percentage in a chosen color space, for example an accent mixed with transparent to tint it from one token.
- Combobox
- A combobox is an input paired with a popup list of options, where typing filters the list and the user picks a value with the mouse or keyboard.
- Command palette
- A command palette is a searchable modal, usually opened with Cmd+K or Ctrl+K, that lets users run actions and jump to pages by typing.
- Component library
- A component library is a collection of reusable, tested UI components, such as buttons, inputs and dialogs, that teams assemble interfaces from.
- Compound components
- Compound components are a set of React components, like Tabs, TabsList and TabsTrigger, that share state through context and are composed together in JSX.
- Container queries
- Container queries let CSS style an element based on the size of its parent container rather than the viewport, so a card adapts to the column it sits in.
- Controlled component
- A controlled component is a React input whose value is held in state and passed down as a prop, with onChange reporting edits, so state is the source of truth.
- CSS variables (custom properties)
- CSS variables, or custom properties, are author-defined properties named with two leading dashes whose values you reuse with var() and that inherit.
D
- Dark mode
- Dark mode is a color scheme that renders light text on dark surfaces, chosen by the user or taken from the operating system's preference.
- Data table
- A data table is an interactive grid of records with columns you can sort, filter, paginate and select, built for scanning and acting on structured data.
- Date range picker
- A date range picker is a form control for choosing a start date and an end date together, usually with a calendar and presets like Last 30 days.
- Debounce
- Debouncing delays a function until its trigger has been quiet for a set time, so a search box sends one request after typing stops, not one per keystroke.
- Design system
- A design system is the shared set of principles, tokens, components and guidelines a team uses to build consistent products at scale.
- Design tokens
- Design tokens are named, platform-agnostic values for design decisions such as colors, spacing, type and shadows, shared between design and code.
- Drawer
- A drawer is a panel that slides in from an edge of the screen over the page, used for navigation, filters or quick actions, and slides back when dismissed.
- Dropdown menu
- A dropdown menu is a list of actions or options that opens below a button, where arrow keys move through the items and Enter runs the chosen one.
E
F
- Fluid typography
- Fluid typography sizes text with clamp() and viewport or container units so it scales smoothly between a minimum and a maximum with no breakpoint jumps.
- Focus trap
- A focus trap keeps keyboard focus inside an open modal, so Tab and Shift+Tab cycle through its controls instead of escaping to the page behind it.
- FOUC (flash of unstyled content)
- FOUC (flash of unstyled content) is when a browser briefly paints a page before its styles apply, so users see raw or wrong-looking content flicker.
G
H
- Headless components
- Headless components provide behavior, state and accessibility for UI widgets without any styles, so you supply all of the visual design yourself.
- Hero section
- A hero section is the first full-width block of a landing page, stating what the product does and offering one primary action above the fold.
- Hydration (React)
- Hydration is the process where React attaches event handlers and state to HTML rendered on the server, making the static markup interactive.
I
K
L
- Live region (aria-live)
- A live region is an element marked with aria-live or role="status" whose content changes are announced by screen readers without moving focus to it.
- llms.txt
- llms.txt is a Markdown file at a site's root that gives AI models a short summary and a curated list of links to the site's most useful docs.
- Loading spinner
- A loading spinner is a small rotating indicator that shows work is in progress when the duration is unknown, used inside buttons and for short waits.
- Logical properties
- Logical properties are CSS properties defined relative to writing direction, like margin-inline-start rather than margin-left, so layouts mirror in RTL.
M
- MCP (Model Context Protocol)
- MCP (Model Context Protocol) is an open standard that lets AI apps and coding agents call external tools and read data through small servers.
- Micro-interactions
- Micro-interactions are small, single-purpose moments of feedback, like a toggle sliding or a copy icon becoming a check, that confirm what just happened.
- Modal dialog
- A modal dialog is a window layered over the page that blocks interaction with everything behind it until the user completes or dismisses it.
- Multi-select
- A multi-select is a form control that lets users pick several options from one list, showing the chosen items as check marks or removable chips.
N
O
P
- Pagination
- Pagination splits a long set of results into numbered pages with controls to move between them, so each view loads a fixed, predictable amount.
- Polymorphic component (asChild and render)
- A polymorphic component can render as a different element or component than its default, so a Button can be a link while keeping its styles and behavior.
- Popover
- A popover is a small floating panel anchored to the control that opened it, holding rich or interactive content, that closes on Escape or a click outside.
- Portal
- A portal renders part of a React tree into a different DOM node, usually document.body, so dialogs and popovers escape overflow clipping and stacking contexts.
- prefers-reduced-motion
- prefers-reduced-motion is a CSS media feature that reports whether the user has asked the operating system to minimize nonessential animation.
- Progress bar
- A progress bar is a horizontal track that fills to show how much of a task is done, as a measured percentage or an indeterminate animation when unknown.
R
- Radio group
- A radio group is a set of options where selecting one deselects the rest, used when a form needs exactly one choice from a short, visible list.
- Radix UI
- Radix UI is an open source library of unstyled, accessible React primitives, widely known as the original foundation of shadcn/ui.
- Range slider
- A range slider is a slider with two thumbs on one track that sets a minimum and a maximum together, such as a price range on a filter panel.
- React Server Components
- React Server Components render only on the server and send their output, not their code, to the browser, which cuts the JavaScript users download.
- Render props
- A render prop is a prop whose value is a function returning React elements, letting a component hand data or state to the caller, who decides the markup.
- Roving tabindex
- Roving tabindex is a keyboard pattern where a group of controls shares one Tab stop and arrow keys move focus inside it; only the active item has tabindex 0.
S
- Scroll snap
- CSS scroll snap makes a scroll container stop at defined points, such as the start of each slide, so carousels and galleries land cleanly without JavaScript.
- Segmented control
- A segmented control is a row of two to five connected buttons where exactly one is selected, used to switch a view, a mode or a value in place.
- Semantic tokens
- Semantic tokens are design tokens named for their purpose, such as fg-muted or danger, rather than their value, so themes can change values safely.
- shadcn registry
- A shadcn registry is a set of JSON files describing components and their dependencies that the shadcn CLI can install directly into a project.
- shadcn/ui
- shadcn/ui is an open source collection of React and Tailwind CSS components that you copy into your project with a CLI instead of installing a package.
- Side sheet
- A side sheet is a panel that slides in from the left or right edge to show details or a form beside the main content, either over it or pushing it aside.
- Skeleton screen
- A skeleton screen is a placeholder layout of gray shapes that mirrors a page's structure while its content loads, instead of a blank screen or spinner.
- Skip link
- A skip link is a hidden link at the top of a page that appears on keyboard focus and jumps straight to the main content, bypassing the header and navigation.
- Snackbar
- A snackbar is a brief message bar at the bottom of the screen that confirms an action and can offer one follow-up, such as Undo, before it disappears.
- Split-flap display
- A split-flap display shows characters on hinged flaps that flip in sequence to change, like a train station departure board, often recreated in CSS.
- Stepper (multi-step form)
- A stepper splits a long form or process into ordered steps and shows progress through them, with one step's fields visible at a time.
T
- Tabs
- Tabs are a row of labeled triggers that switch between panels of content in the same place, showing one panel at a time without leaving the page.
- Tailwind CSS v4
- Tailwind CSS v4 is the fourth major version of the utility-first CSS framework, with a faster engine and configuration written in CSS instead of JavaScript.
- Throttle
- Throttling limits how often a function can run, to at most once per interval, so a scroll or pointer handler fires on a steady schedule, not on every event.
- Timeline
- A timeline is a vertical list of events in time order, each with a marker on a shared line, a timestamp and a short description, as in an activity feed.
- Toast notification
- A toast is a brief, non-modal message that appears at the edge of the screen to confirm an action or report status, then dismisses itself.
- Toggle switch
- A toggle switch is an on-off control with a sliding thumb that applies a setting immediately, like a physical light switch, without a Save button.
- Tooltip
- A tooltip is a small text label that appears when a control is hovered or focused, describing it briefly without taking space in the layout.
- Tree view
- A tree view is a nested list of expandable nodes, like a file explorer, where each branch can be opened to reveal its children and collapsed to hide them.
V
- View Transitions API
- The View Transitions API animates between two states of a page by snapshotting the old view, applying the change and crossfading or morphing to the new one.
- Virtual scrolling
- Virtual scrolling renders only the rows of a long list that are visible in the viewport, plus a small buffer, so a list of 100,000 items stays fast.
- Visually hidden
- Visually hidden is a CSS technique that removes an element from view while keeping it in the accessibility tree, so screen readers still read its text.