accordion
An accordion component for displaying collapsible content sections.
dx components add accordionDioxus components by the Dioxus team. Browse the catalog, copy the CLI command, and pull only what you need into your project. Thoughtfully designed with powerful accessibility features.
dx components listLive, interactive UI blocks composed from the primitives below. Use your keyboard to test the accessibility interactions.
Sign in to your workspace.
Building UI primitives that ship to web, desktop, and mobile. Mostly Rust, mostly weekends.
Active users · 30d
On track for the 36k Q2 target.
3 new conversations.
Left 3 comments on the auth flow
2m
Roadmap sync notes attached
1h
Refactored the sidebar layout
4h
Drag to reorder — top is highest priority.
Pick what we ping you about.
Midnight City
M83 · Hurry Up, We're Dreaming
Jump between projects your team owns.
Everything in Pro, plus shared workspaces and audit logs.
Narrow down what's shown below.
Tune the accent that shows up across the workspace.
Team activity at a glance.
Pick a day for the standup.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Every primitive in the library, with live previews and a copy-paste install command for each one.
An accordion component for displaying collapsible content sections.
dx components add accordionAn alert dialog component for displaying important messages and requiring user confirmation.
dx components add alert_dialogAn aspect ratio component for maintaining a consistent width-to-height ratio of an element.
dx components add aspect_ratioBasic Usage
Rounded
Loading
Error State
Large Size
A trail of links showing the current page's place in a hierarchy.
dx components add breadcrumbGroups a row (or column) of buttons so their borders merge into one control.
dx components add button_group| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
A slideshow you page through with prev/next buttons, arrow keys, or by dragging/scrolling the track.
dx components add carouselA themed, data-driven SVG chart (area, bar, line) with tooltip, legend, and an accessible hidden data table.
dx components add chart| Date | Desktop | Mobile |
|---|---|---|
| Apr 2 | 236 | 190 |
| Apr 3 | 250 | 191 |
| Apr 4 | 264 | 189 |
| Apr 5 | 277 | 186 |
| Apr 6 | 289 | 181 |
| Apr 7 | 301 | 174 |
| Apr 8 | 312 | 165 |
| Apr 9 | 322 | 156 |
| Apr 10 | 330 | 145 |
| Apr 11 | 338 | 134 |
| Apr 12 | 344 | 122 |
| Apr 13 | 349 | 111 |
| Apr 14 | 353 | 100 |
| Apr 15 | 355 | 90 |
| Apr 16 | 355 | 80 |
| Apr 17 | 354 | 73 |
| Apr 18 | 352 | 66 |
| Apr 19 | 348 | 62 |
| Apr 20 | 343 | 59 |
| Apr 21 | 337 | 58 |
| Apr 22 | 330 | 59 |
| Apr 23 | 321 | 63 |
| Apr 24 | 312 | 68 |
| Apr 25 | 301 | 75 |
| Apr 26 | 290 | 83 |
| Apr 27 | 279 | 93 |
| Apr 28 | 267 | 104 |
| Apr 29 | 255 | 116 |
| Apr 30 | 242 | 128 |
| May 1 | 230 | 140 |
| May 2 | 218 | 152 |
| May 3 | 206 | 164 |
| May 4 | 195 | 174 |
| May 5 | 185 | 184 |
| May 6 | 175 | 192 |
| May 7 | 167 | 198 |
| May 8 | 159 | 202 |
| May 9 | 153 | 205 |
| May 10 | 148 | 205 |
| May 11 | 144 | 204 |
| May 12 | 141 | 200 |
| May 13 | 140 | 195 |
| May 14 | 141 | 188 |
| May 15 | 143 | 180 |
| May 16 | 146 | 170 |
| May 17 | 151 | 159 |
| May 18 | 157 | 148 |
| May 19 | 164 | 137 |
| May 20 | 173 | 125 |
| May 21 | 182 | 114 |
| May 22 | 193 | 104 |
| May 23 | 205 | 95 |
| May 24 | 217 | 87 |
| May 25 | 230 | 81 |
| May 26 | 244 | 76 |
| May 27 | 258 | 73 |
| May 28 | 272 | 73 |
| May 29 | 286 | 74 |
| May 30 | 300 | 77 |
| May 31 | 313 | 83 |
| Jun 1 | 327 | 90 |
| Jun 2 | 339 | 98 |
| Jun 3 | 351 | 108 |
| Jun 4 | 362 | 119 |
| Jun 5 | 372 | 131 |
| Jun 6 | 381 | 143 |
| Jun 7 | 389 | 155 |
| Jun 8 | 395 | 167 |
| Jun 9 | 400 | 179 |
| Jun 10 | 404 | 189 |
| Jun 11 | 406 | 199 |
| Jun 12 | 407 | 207 |
| Jun 13 | 406 | 213 |
| Jun 14 | 404 | 217 |
| Jun 15 | 400 | 220 |
| Jun 16 | 395 | 220 |
| Jun 17 | 389 | 219 |
| Jun 18 | 382 | 215 |
| Jun 19 | 374 | 210 |
| Jun 20 | 364 | 203 |
| Jun 21 | 354 | 194 |
| Jun 22 | 343 | 184 |
| Jun 23 | 332 | 174 |
| Jun 24 | 320 | 163 |
| Jun 25 | 307 | 151 |
| Jun 26 | 295 | 140 |
| Jun 27 | 283 | 129 |
| Jun 28 | 271 | 118 |
| Jun 29 | 259 | 109 |
| Jun 30 | 248 | 102 |
A collapsible component for showing and hiding content sections.
dx components add collapsibleAn autocomplete input + popover for picking a value from a filterable list of options.
dx components add comboboxA filterable command palette, typically opened in a modal dialog, for quickly finding and running actions.
dx components add commandA context menu component for displaying a list of actions or option after right clicking an area.
dx components add context_menuA composition pattern for sortable, filterable, paginated tables with row selection.
dx components add data_table| ID | Status | |||
|---|---|---|---|---|
| PMT-03 | Success | alexandra@example.com | $837.00 | |
| PMT-02 | Processing | carmella@example.com | $242.00 | |
| PMT-06 | Success | derek@example.com | $120.00 | |
| PMT-12 | Success | felix@example.com | $289.00 | |
| PMT-08 | Processing | hannah@example.com | $75.00 |
Allows users to create vertically sortable lists supporting drag and drop, touch or keyboard input.
dx components add drag_and_drop_listDrag to reorder - top is highest priority
A drawer component -- a Vaul-style sheet with drag-to-dismiss, sliding in from an edge of the screen
dx components add drawerA dropdown menu component for selecting options from a list.
dx components add dropdown_menuA placeholder for content that hasn't loaded, doesn't exist, or was filtered to nothing.
dx components add emptyLays out a label, control, and description/error text together for a form field.
dx components add fieldA real HTML form pairing Checkbox, Switch, RadioGroup, and Select with native reference controls for form-conformance testing.
dx components add formEvery row pairs this library's control with a native reference control sharing a parallel name. Submitting prevents navigation, builds new FormData(form), and renders one name=value line per entry, in insertion order, below.
Demonstrates that required controls block submission: submitting with any required control unsatisfied refuses to submit, outlines the offending control(s) in red and moves focus to the first one, and lists their names below.
Every library control below sets required per its documented API, including Select -- see docs/plan.md Phase 1.3. Blocked submits fire invalid on the offending controls, listed below in insertion order.
A hover card component for displaying additional information on hover.
dx components add hover_cardWraps an input with leading/trailing icons, buttons, or static text inside one bordered control.
dx components add input_groupA one-time-passcode entry control: single-character boxes backed by one real input.
dx components add input_otpValue:
A simple item with title and description.
Press ⌘K to open the command palette.
A styled native <select>, for when the platform's own picker is preferable to a custom listbox.
dx components add native_selectSelected: apple
A collection of links and disclosure panels for site navigation.
dx components add navigation_menuA group of radio buttons for selecting one option from a set.
dx components add radio_groupScrollable content item 1
Scrollable content item 2
Scrollable content item 3
Scrollable content item 4
Scrollable content item 5
Scrollable content item 6
Scrollable content item 7
Scrollable content item 8
Scrollable content item 9
Scrollable content item 10
Scrollable content item 11
Scrollable content item 12
Scrollable content item 13
Scrollable content item 14
Scrollable content item 15
Scrollable content item 16
Scrollable content item 17
Scrollable content item 18
Scrollable content item 19
Scrollable content item 20
A sidebar component as a vertical interface panel fixed to the screen edge, enable quick access to different sections of an application
dx components add sidebar| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| INV004 | Paid | Credit Card | $450.00 |
| INV005 | Paid | PayPal | $550.00 |
| INV006 | Pending | Bank Transfer | $200.00 |
| Total | $1,950.00 | ||
A focusable group of tags (labels, categories, filters and similar items).
dx components add tag_groupa textarea component used to allow users to enter multi-line text input
dx components add textareaDescription here: sample text
A group of toggle buttons for selecting one or more options from a set.
dx components add toggle_groupThis is a sample text that will be formatted according to the toolbar buttons you click. Try clicking the buttons above to see how the text formatting changes.
Scroll this page to verify virtualized rendering with dynamic row heights.