TrademarkTrademark
Ctrl k
Search docs...
Components

Overview

Last update: March 8, 2025
Once UI provides a comprehensive set of components designed to help you build beautiful, accessible, and responsive user interfaces. This guide introduces the key components and shows how to use them in your projects.

Component Philosophy

Our components follow these design principles:
  • Accessibility First: All components are built with accessibility in mind
  • Responsive by Default: Components adapt to different screen sizes
  • Customizable: Flexible props system allows for extensive customization
  • Consistent: Unified design language across all components

Key Components

Here's a quick overview of some of our most commonly used components:
Component
Purpose
Key Features
CardContainer for related contentFlexible layout, hover states, interactive options
AccordionCollapsible content sectionsAnimated transitions, keyboard accessibility
FeedbackUser notificationsMultiple variants (success, error, warning, info)
MediaEnhanced image displayLazy loading, aspect ratio control, zoom capability

Code Example

Here's a simple example of using our components together: In the following sections, we'll explore each component in detail.
Edit this page on GitHub
TrademarkTrademark
Launch your docs with Once UI
Social
GitHub