Components
53 components across 6 categories. Click any component to view its documentation.
Forms
16
afp-checkbox
The Checkbox component allows users to select or deselect a single option. It supports multiple states including checked, unchecked, disabled, and indeterminate.
afp-checkbox-group
A checkbox group component to display multiple checkboxes together.
afp-color-picker
A color picker component with format support (HEX, RGB, HSL, HSV).
afp-date-picker
A date picker component for selecting dates via input or calendar popup.
afp-file-upload
A file upload component that allows users to select files.
afp-input
Short summary of the component's intended use.
afp-option
An option component to be used within an AfpSelect.
afp-password-validator
Provides a password input field with live validation feedback. Displays a configurable list of password rules and visually indicates which rules are fulfilled while the user types.
afp-pin-input
A PIN input component for entering multi-digit codes.
afp-radio
The Radio component allows users to select a single option from a set of choices. It is typically used in groups where only one radio button can be selected at a time.
afp-radio-card
The Radio Card component allows users to select a single option from a set of choices. It is typically used in groups where only one radio card button can be selected at a time.
afp-radio-group
The Radio Group component allows users to select a single option from a set of predefined choices. It groups multiple radio buttons together, ensuring that only one option can be selected at a time.
afp-select
A select component that allows users to choose one or more options from a dropdown list.
afp-slider
A slider component that lets users select a numeric value within a range.
afp-switch
A switch component to toggle between on and off states.
afp-textarea
A textarea component to input and edit multi-line text, useful for capturing longer user-provided content.
Actions
3
afp-button
A button component to trigger an action. Can also be used as a link.
afp-button-group
A button group component to display multiple buttons together.
afp-copy-button
A button component that copies a specified text value to the clipboard when clicked.
Feedback
5
afp-alert
A dismissible alert component that can also appear as a toast notification.
afp-empty-state
Empty states are used to communicate that there is no data to display, no search results, or an error occurred.
afp-progress-bar
A progress bar component to visually represent the completion of a task or process.
afp-progress-ring
A progress ring component to visually represent the completion of a task or process in ring format.
afp-spinner
Spinners are used to show the progress of an indeterminate operation.
Overlays
5
afp-context-menu
A context menu component that displays a popover with menu items on right-click. It suppresses the default context menu.
afp-dialog
A modal dialog overlay that displays contextual content.
afp-drawer
A drawer component that slides in from the edge of the screen to display contextual content like filters, settings, or details without leaving the current page context.
afp-popover
A popover that anchors to another element and can be triggered by click, hover, focus, or programmatic manuals.
afp-tooltip
A tooltip component for displaying brief, informative messages.
Navigation
13
afp-breadcrumb
A breadcrumb navigation component that provides hierarchical navigation context.
afp-breadcrumb-item
A single breadcrumb navigation item that represents one step in the navigation hierarchy.
afp-dropdown
A dropdown component that displays a list of actions or options when triggered.
afp-dropdown-item
A dropdown item component to be used within an AfpDropdown.
afp-navigation
A navigation component to group navigation items in sidebars or navigation menus.
afp-navigation-item
A navigation item component to be used withing sidebars or navigation menus.
afp-stepper
A stepper component displays a sequence of steps in a process. Steps are defined as afp-stepper-item child elements, and content is provided through afp-stepper-content components. Content can be linked by index (default) or by explicit name matching.
afp-stepper-content
A component to hold the content associated with a stepper item in a stepper. Displays its content when its stepper item is the active step.
afp-stepper-item
A stepper-item component to be used as a child of afp-stepper.
afp-tab
A tab component to select and reveal a specific panel within a tab group.
afp-tab-group
A tab group component to organize related content. Can switch between labeled tabs to reveal associated panels.
afp-tab-panel
A component to hold the content associated with a tab in a tab group. Displays its panel when its tab is selected.
afp-tree-view
A tree view component for displaying hierarchical data with expandable/collapsible nodes.
Display
11
afp-avatar
An avatar component to display user profile images with initials fallback.
afp-avatar-group
An avatar group component to display multiple avatars together.
afp-badge
A small visual indicator used to display status, count, or notification information.
afp-card
Cards are surfaces that display content and actions on a single topic.
afp-details
A collapsible section that can expand or collapse to show or hide content.
afp-icon
Icons are used to visually represent actions, objects, or concepts. They can be used as standalone elements or within other components such as buttons.
afp-sparkline
A compact sparkline chart for displaying data trends inline.
afp-table
A table component for displaying tabular data with support for sorting, selection and pagination.
afp-tag
A tag component to display a label or keyword, optionally with a close icon.
afp-timeline
A timeline component to display a series of events or milestones in chronological order.
afp-timeline-item
A timeline item component for displaying a single event within a timeline.
No components match your search.