UI Component Encyclopedia
Explore 52 UI components with detailed guides on variants, properties, accessibility patterns, and code snippets for HTML and React.
Actions
5 componentsButton
Triggers an action or event when clicked. The most fundamental interactive element in any UI.
Button Group
Groups related buttons together to form a cohesive set of actions.
Floating Action Button
A circular button that floats above the UI to promote a primary action.
Icon Button
A button that displays only an icon, used for compact actions.
Split Button
Combines a default action with a dropdown for additional options.
Data Input
10 componentsCheckbox
Allows users to select one or more options from a set of choices.
Radio Button
Allows users to select exactly one option from a set of mutually exclusive choices.
Select
Presents a list of options in a dropdown overlay for single selection.
Combobox
Combines a text input with a filterable dropdown list for enhanced selection.
Date Picker
Allows users to select a date or date range through a calendar interface.
File Upload
Enables users to select and upload files through drag-and-drop or file browser.
Slider
Lets users select a value or range from a continuous spectrum by dragging a thumb.
Switch
A binary control that immediately toggles between two states (on/off).
Text Input
A single-line text field for capturing short-form user input.
Color Picker
Allows users to select a color through various interfaces like spectrum, swatches, or input.
Data Display
9 componentsAvatar
Represents a user or entity with an image, icon, or initials.
Badge
A small status indicator or label used to highlight information.
Card
A container for grouping related content and actions about a single subject.
List
Displays a continuous group of related items vertically.
Table
Displays structured data in rows and columns with optional sorting, filtering, and pagination.
Tree View
Displays hierarchical data in an expandable/collapsible tree structure.
Tag
A compact element used for categorization, filtering, or displaying metadata.
Rating
Allows users to rate or view ratings using a visual scale (typically stars).
Stat
Displays a numerical value with a label, often used in dashboards and summaries.
Feedback
6 componentsAlert
Displays an important message to attract the user's attention without interrupting workflow.
Toast
A brief, auto-dismissing message that appears temporarily to provide feedback.
Progress Bar
Indicates the completion progress of a task or operation.
Spinner
An animated indicator showing that content or a process is loading.
Skeleton
A placeholder UI that mimics the layout of content while it loads.
Empty State
Displayed when there is no content to show, guiding users toward taking action.
Overlay
5 componentsDialog
An overlay window that requires user interaction before returning to the main content.
Drawer
A panel that slides in from the edge of the screen, overlaying the content.
Popover
Displays rich content in a floating panel anchored to a trigger element.
Tooltip
A small text popup that appears on hover or focus to describe an element.
Dropdown Menu
A menu that appears on trigger, displaying a list of actions or options.
Layout
6 componentsAccordion
Vertically stacked sections that expand and collapse to reveal content.
Carousel
Displays a series of content items that users can cycle through horizontally.
Divider
A visual separator used to divide sections of content.
Grid
A two-dimensional layout system for organizing content in rows and columns.
Stack
Arranges children elements in a vertical or horizontal stack with consistent spacing.
Hero
A prominent section typically at the top of a page with a headline, description, and CTA.
Typography
5 componentsHeading
Typography component for section titles and content headings.
Text
A flexible typography component for body text, captions, and other content.
Blockquote
Highlights a quotation or excerpt with distinctive visual styling.
Code Block
Displays formatted code with optional syntax highlighting and copy functionality.
Label
Associates a text description with a form control for accessibility and clarity.
Build better interfaces
Use our free design tools alongside this component encyclopedia to create pixel-perfect UI. 52 components and counting.