# Documentation ## ContentEn - [Compliance](https://onyx.schwarz/raw/compliance.md): Today, compliance is more complex than ever before. There are ever-increasing legal challenges in a global environment. That’s why we are constantly adapting our processes and systems to the legal framework. To emphasize the significance of compliance for us, we have firmly anchored it into our corporate policy: “We comply with applicable laws and internal guidelines.” Compliance is therefore an active component of our corporate culture. We have a compliance management system in place that allows you as a customer, business partner, or company employee to act in accordance with uniform and binding structures. - [Installation](https://onyx.schwarz/raw/docs/getting-started/installation.md): Get started using our design system by installing it into your project. We support Vue, Nuxt and Figma. - [First steps](https://onyx.schwarz/raw/docs/getting-started/first-steps.md): Key principles and essential steps for building a new application with Onyx. - [Changelog](https://onyx.schwarz/raw/docs/getting-started/changelog.md): Track recent design system releases, new components, bug fixes, and migration notes. - [Colors & Themes](https://onyx.schwarz/raw/docs/foundation/colors.md): Semantic colors and themes for light and dark mode, ensuring accessible and consistent visual experiences. - [Typography](https://onyx.schwarz/raw/docs/foundation/typography.md): Typography establishes hierarchy, provides structure, and ensures accessible communication across applications. - [Breakpoints & Grid](https://onyx.schwarz/raw/docs/foundation/breakpoints-and-grid.md): Responsive layout grids and breakpoints that adapt fluidly across devices and screen sizes. - [Density](https://onyx.schwarz/raw/docs/foundation/density.md): Density adjusts the vertical space of components to optimize layouts for various screen sizes and improve data scannability. - [Borders & Shadows](https://onyx.schwarz/raw/docs/foundation/borders-and-shadows.md): Borders and shadows create structure, define element boundaries, and establish depth across components. - [Variables](https://onyx.schwarz/raw/docs/foundation/variables.md): Design variables serve as the single source of truth for visual attributes across platforms. - [Accessibility](https://onyx.schwarz/raw/docs/foundation/accessibility.md): Accessibility principles and guidelines ensuring components meet WCAG 2.2 Level AA compliance. - [Internationalization](https://onyx.schwarz/raw/docs/foundation/i18n.md): Out-of-the-box multilingual support for built-in component labels, buttons, and empty states. - [Layouts](https://onyx.schwarz/raw/docs/foundation/layouts.md): Principles and page structures to guide user focus, establish visual hierarchy, and maintain consistent interfaces. - [Images](https://onyx.schwarz/raw/docs/foundation/images.md): Guidelines and principles for using images effectively, authentically, and accessibly across applications. - [Animations](https://onyx.schwarz/raw/docs/foundation/animations.md): Purposeful animations and transitions that guide focus, provide feedback, and respect user motion preferences. - [Imprint](https://onyx.schwarz/raw/imprint.md): The content published on this website is maintained by: - [Privacy Policy](https://onyx.schwarz/raw/privacy-policy.md): Version 1.1 ## ComponentsEn - [Button](https://onyx.schwarz/raw/components/buttons/button.md): Buttons trigger actions, submit forms, and guide users through critical workflows. - [Floating action button](https://onyx.schwarz/raw/components/buttons/fab.md): A floating action button (FAB) is a fixed button anchored to a lower viewport corner for primary, persistent actions. - [Icon button](https://onyx.schwarz/raw/components/buttons/icon-button.md): An icon button serves as a compact, label-free version of a traditional button, used to trigger both primary and secondary actions. It’s a key interactive element, letting users engage quickly with content. - [Split button](https://onyx.schwarz/raw/components/buttons/split-button.md): The split button is used to have multiple actions alongside a group of similar actions. The main action will be displayed on the left and will be triggered immediately after clicking. On the right side and behind an arrow icon, there are multiple additional actions which can be individual or can extend the functionality of the main action. - [System button](https://onyx.schwarz/raw/components/buttons/system-button.md): The system button triggers interactions exclusively for a parent container - not for standalone actions / content - and is therefore smaller than regular buttons. For standalone usage, please prefer the regular button or icon button instead. - [Checkbox group](https://onyx.schwarz/raw/components/form-elements/checkbox-group.md): Checkboxes are a fundamental UI element, that allows users to make a binary selection. They are commonly used for tasks such as selecting multiple items, opting into services or confirming and agreeing. The checkbox group is a convenience component to simplify the management of multiple related options. For individual use, you can also use the checkbox component. - [Date picker (v2)](https://onyx.schwarz/raw/components/form-elements/date-picker-v2.md): The date picker allows users to select individual dates, multiple selections, or continuous date ranges. - [Date picker](https://onyx.schwarz/raw/components/form-elements/date-picker.md): The date picker component can be used to select a date or date-time. - [File upload](https://onyx.schwarz/raw/components/form-elements/file-upload.md): The file upload component is used to support selecting / uploading one or multiple files with drag-and-drop support. - [Form](https://onyx.schwarz/raw/components/form-elements/form.md): Forms collect user input across fields such as text inputs, selects, and steppers. With integrated validation and error states, the form component simplifies complex data collection. - [Input](https://onyx.schwarz/raw/components/form-elements/input.md): Text inputs are essential UI elements where users can enter textual information. These components play a fundamental role in facilitating user interactions and data input within applications and websites. For numeric values, please use the stepper instead. - [Radio group](https://onyx.schwarz/raw/components/form-elements/radio-group.md): Radio buttons in UI design are interactive elements that allow users to make a single selection from a set of mutually exclusive options. Users can choose only one option at the time, making radio buttons ideal for scenarios where a single, distinct choice is required. - [Select](https://onyx.schwarz/raw/components/form-elements/select.md): The select is a fundamental element utilized across various components such as dropdowns, navigation bars, pagination, tables, etc. It provides the users with the ability to open a small modal window, facilitating single or multi-selection based on the context in which it is employed. - [Slider](https://onyx.schwarz/raw/components/form-elements/slider.md): Sliders allow users to select a value (or a range of two values) inside a given min/max range by dragging a thumb along a track. - [Stepper](https://onyx.schwarz/raw/components/form-elements/stepper.md): The stepper component lets users input numerical values and adjust them incrementally via plus and minus buttons, making it ideal for setting quantities or values in small, controlled steps. - [Switch](https://onyx.schwarz/raw/components/form-elements/switch.md): Switches are a common UI element used to control binary states, such as on/off, enable/disable or active/inactive. They consist of a toggle mechanism that allow users to switch between two distinct states with a simple interaction. - [Text editor](https://onyx.schwarz/raw/components/form-elements/text-editor.md): The text editor supports entering text with additional formatting such as inserting links, headlines and more and is therefore ideal for comments, descriptions and more. For simple text-only data, please use the textarea instead. - [Textarea](https://onyx.schwarz/raw/components/form-elements/textarea.md): Textarea components support large text entries, giving users a spacious area to input or format continuous text, making them ideal for comments, descriptions, or other longer texts. - [Time picker](https://onyx.schwarz/raw/components/form-elements/time-picker.md): The time picker allows users to select a specific time or a time range. - [Accordion](https://onyx.schwarz/raw/components/basic/accordion.md): An accordion is a versatile UI element that allows users to expand and collapse sections of content. It is commonly used for organizing large amounts of information in a compact space, enabling users to easily navigate through different categories or options. - [Avatar](https://onyx.schwarz/raw/components/basic/avatar.md): Avatars visually represent users with profile images or initials, adding a personal touch to applications by displaying the user’s identity in a compact form. - [Badge](https://onyx.schwarz/raw/components/basic/badge.md): Badges render compact, prominent status indicators associated with a parent object, such as version tags or system states. For data categorization, use the tag instead. - [Flag](https://onyx.schwarz/raw/components/basic/flag.md): Flags visually represent countries or territories. While Onyx provides an official flag package, any SVG flag set can be used. - [Flyout menu](https://onyx.schwarz/raw/components/basic/flyout-menu.md): The flyout menu is used to create navigation or action menus that are positioned relative to a parent element and appear when the user clicks or hovers over them. - [Icon](https://onyx.schwarz/raw/components/basic/icon.md): Icons enhance visual communication and accessibility within the interface. We recommend using our official icons listed below but any SVG icon library is compatible with our design system. - [Image](https://onyx.schwarz/raw/components/basic/image.md): Image components are essential elements in web design, serving multiple purposes to enhance the visual appeal, user experience and functionality of an application. - [Menu item](https://onyx.schwarz/raw/components/basic/menu-item.md): The menu item represents a single action inside of a parent menu component such as the flyout menu. It is not intended for standalone use. - [Shortcut](https://onyx.schwarz/raw/components/basic/shortcut.md): The shortcut component offers a visual representation of a shortcut sequence. It supports multi-step sequences and operating system-specific symbols for macOS and Windows. It can also highlight pressed keys interactively. - [Tag](https://onyx.schwarz/raw/components/basic/tag.md): Tags provide contextual metadata for related parent elements, such as categories or classification labels. For application-level or system status indicators, use the badge instead. - [Card](https://onyx.schwarz/raw/components/cards/card.md): Cards serve as versatile containers for a few short, related pieces of content. Their primary purpose is to present information in a visually appealing and organized manner, enhancing user experience and content discoverability. - [File card](https://onyx.schwarz/raw/components/cards/file-card.md): The file card is used to represent a selected or upload file. It is mainly used by the file upload component but can also be used individually. - [Info card](https://onyx.schwarz/raw/components/cards/info-card.md): Info cards are used to display informational content to the user or implement error handling within components. They can e.g. be used in cases where the user needs to manually review changes or to inform him about a system-related status. - [Calendar](https://onyx.schwarz/raw/components/data/calendar.md): The calendar displays or selects dates across several selection modes (single, multiple, range). For form input workflows, consider our specialized components: - [Chart](https://onyx.schwarz/raw/components/data/chart.md): Charts visualize quantitative datasets through graphical representations such as bars, lines, or slices, allowing users to identify patterns and trends at a glance. - [Data grid](https://onyx.schwarz/raw/components/data/data-grid.md): A highly customizable and modular table for displaying complex datasets. The data grid supports features like sorting, filtering, grouping columns and rows, and much more, giving both developers and users extensive control. - [Empty](https://onyx.schwarz/raw/components/data/empty.md): The empty component is used to indicate to the user that there is currently no data available. - [Items per page](https://onyx.schwarz/raw/components/data/items-per-page.md): The items per page component allows users to select how many items are displayed per page in a paginated list or table. - [Pagination](https://onyx.schwarz/raw/components/data/pagination.md): Pagination can be used in cases where a lot of data exists that should not be shown or loaded all at once. The user can select a page for which data should be shown, e.g. inside a data grid. - [Table](https://onyx.schwarz/raw/components/data/table.md): A lightweight component for displaying smaller, structured datasets. - [Alert modal](https://onyx.schwarz/raw/components/feedback/alert-modal.md): The alert modal is used to provide important information to the user. It interrupts the user's workflow to communicate an important message and acquires a response, e.g. a delete confirmation. - [Dialog](https://onyx.schwarz/raw/components/feedback/dialog.md): The dialog is used to provide additional information to the user. It is always attached to a parent element, similar to a tooltip. - [Modal](https://onyx.schwarz/raw/components/feedback/modal.md): Modals display dialog content over an active backdrop, requiring user interaction or dismissal before returning to the main page. Use modals for focused workflows, such as form inputs or critical confirmation steps. - [Toast](https://onyx.schwarz/raw/components/feedback/toast.md): Toasts provide non-disruptive feedback following user actions, displaying concise, temporary messages that auto-dismiss. - [Tooltip](https://onyx.schwarz/raw/components/feedback/tooltip.md): Tooltips offer additional, contextual information for a parent element, appearing subtly to aid understanding without diverting the user’s focus. The component supports text and icons only. - [Notification center](https://onyx.schwarz/raw/components/notifications/notification-center.md): The notification center is a combination of multiple components to achieve displaying and managing global notifications for the application. When a new notification is coming in (e.g. sent by the backend), a temporary notification is shown in the top right of the screen. To view all available notifications, the notification center can be opened (typically using a bell icon inside the nav bar). - [Notification card](https://onyx.schwarz/raw/components/notifications/notification-card.md): Used to display (system / user) notifications, e.g. to build a notification center. - [Notification dot](https://onyx.schwarz/raw/components/notifications/notification-dot.md): Renders a dot indicator badge on target components to highlight unread activity or updates (e.g. on navigation items or action buttons). - [Notifications](https://onyx.schwarz/raw/components/notifications/notifications.md): Notifications display persistent or temporary status updates to users, typically integrating with a notification center. - [Bottom bar](https://onyx.schwarz/raw/components/navigation/bottom-bar.md): A bottom bar is a navigation bar at the bottom of a page, component or whole application. Preferably used together with the page layout component. The bottom bar is positioned sticky so the content becomes scrollable if its too long. - [Breadcrumb](https://onyx.schwarz/raw/components/navigation/breadcrumb.md): A breadcrumb component is a secondary navigation element that displays a user's current location within the application's structural hierarchy. It enables users to understand their current context and trace their path back to parent pages. - [Color scheme dialog](https://onyx.schwarz/raw/components/navigation/color-scheme-dialog.md): Pre-built dialog where the user can select which color scheme (light/dark mode) to use for the application. - [Color scheme menu item](https://onyx.schwarz/raw/components/navigation/color-scheme-menu-item.md): Pre-built menu item for the user menu that can be used inside the nav bar to display the current color scheme (light/dark mode) to the user and allow changing it using a dialog. - [Headline](https://onyx.schwarz/raw/components/navigation/headline.md): Headlines organize and structure content, guiding the user through different sections and conveying the hierarchy of information. For all information about our typography system, please refer to: - [Language menu item](https://onyx.schwarz/raw/components/navigation/language-menu-item.md): Pre-built menu item for the user menu that can be used inside the nav bar to display the current application language to the user and allow changing it using a dialog. - [Link](https://onyx.schwarz/raw/components/navigation/link.md): Links are navigational elements that direct users to other (internal or external) pages. - [Nav bar](https://onyx.schwarz/raw/components/navigation/nav-bar.md): The navigation bar provides the primary routing header for an application, allowing users to navigate between sections. It also accommodates global actions such as authentication, language switching, theme selection, global search, and notification centers. - [Nav button](https://onyx.schwarz/raw/components/navigation/nav-button.md): The nav button is intended to be used exclusively inside the nav bar for providing (custom) actions inside the context area. Do NOT use the icon button inside the nav bar. - [Nav item](https://onyx.schwarz/raw/components/navigation/nav-item.md): The nav item is used to build the navigation bar component and not intended to be used standalone. - [Segmented control](https://onyx.schwarz/raw/components/navigation/segmented-control.md): The segmented control is an interactive component that allows users to select a single option from a set of mutually exclusive choices. It is commonly used for view toggles (such as switching between card and table layouts) or compact filter bars. - [Sidebar](https://onyx.schwarz/raw/components/navigation/sidebar.md): A sidebar is displayed either on the left or right edge of the application to show additional information. It can be shown either permanently or only temporarily based on the user interaction. - [Table Of Contents](https://onyx.schwarz/raw/components/navigation/table-of-contents.md): The table of contents component is used to display a list of sections/headings in a page with links to the corresponding sections. - [Tabs](https://onyx.schwarz/raw/components/navigation/tabs.md): Tabs organize content into separate views within the same page, helping users to navigate and manage large sets of information without page reloads, improving accessibility and flow. They are perfect for single page web applications, or for web pages capable of displaying different subjects. - [Timer](https://onyx.schwarz/raw/components/navigation/timer.md): Countdown timer, e.g. for when the user's login session expires. - [Tree view](https://onyx.schwarz/raw/components/navigation/tree-view.md): A tree view is used to display hierarchical data such as products grouped by category, files inside folders etc. - [User menu](https://onyx.schwarz/raw/components/navigation/user-menu.md): The user menu displays user-related information and actions and is intended to be used inside the navigation bar. - [Progress item](https://onyx.schwarz/raw/components/progress/progress-item.md): The progress item represents a single step inside of a multi-step progress. It is mainly used inside the progress steps component. - [Progress steps](https://onyx.schwarz/raw/components/progress/progress-steps.md): The progress steps are used to indicate a linear multi-step workflow that the user has to go through step by step. Upcoming steps can not be skipped, going back to already visited steps is always possible. Continuing to the next step is up the projects's logic so custom components or logic needs to be implemented for this. - [Filter badge](https://onyx.schwarz/raw/components/search-and-filter/filter-badge.md): The filter badge is a specialized variant of the general badge component that is optimized for usage inside search and filter components. It can e.g. display interactive filters that are applied on click. - [Filter tag](https://onyx.schwarz/raw/components/search-and-filter/filter-tag.md): The filter tag is a specialized variant of the general tag component that is optimized for usage inside search and filter components. It can e.g. display interactive filters that are applied on click. - [Global search](https://onyx.schwarz/raw/components/search-and-filter/global-search.md): The global search is used to provide a application-wide search functionality to e.g. quickly find a wide variety of data. While it can be triggered / opened using any custom component or logic, it is commonly placed as search button inside the nav bar component. - [Search](https://onyx.schwarz/raw/components/search-and-filter/search.md): The search component provides a straightforward text search functionality, allowing users to type in a keyword or phrase and receive results that directly match their input. It can optionally include additional filters, e.g. when working with complex tables. - [App layout](https://onyx.schwarz/raw/components/layouts/app-layout.md): The app layout provides the outer application shell, establishing viewport bounds, top-level scroll containers, and mounting points for global services like toasts and notifications. We strongly recommend mounting OnyxAppLayout once at the root of your application (typically App.vue). - [Page layout](https://onyx.schwarz/raw/components/layouts/page-layout.md): The page layout structures a single page of the application and should be used on every page. It supports slots for common page layouts like sidebar, footer and more. It should be used together with the app layout component. - [Markdown](https://onyx.schwarz/raw/components/docs/markdown.md): Displays markdown content using onyx components, especially useful when working on documentation applications or displaying responses from AI integrations. Common markdown elements such as headlines, links, tables and more will be replaced with corresponding onyx components and styles. - [Markdown document](https://onyx.schwarz/raw/components/docs/markdown-document.md): Renders a pre-parsed markdown document without any parsing. Use it when you parse on the server, in a build step, or via an API, so no parser or plugin code is shipped to the browser. If you need to render raw markdown instead, use our markdown component. - [Code tabs](https://onyx.schwarz/raw/components/docs/code-tabs.md): Displays one or multiple code snippets in tabbed views. This component does not perform syntax highlighting. To add syntax highlighting, use a tool like Shiki or Nuxt Content and pass the formatted HTML into the tab slot.