Skip to main content
Home DMS Library & Design System

DMS Library & Design System

dms-os/ui v2.0
Disclosure .dms-os-accordion

Accordion

A vertically stacked set of interactive headings that each reveal an associated section of content.

Dominion Light · Double-Shell 2px Tray
bin/rails g dms_os:component accordion
Is DMS OS accessible out of the box?

Yes. All 66 primitives enforce WCAG 2.2 AA contrast (4.5:1+), native keyboard navigation, and 24px/44px touch targets.

Does it support 16 programming languages?

Yes. Select any stack from the language switcher to generate Rails, React, Vue, Svelte, Flutter, Python, Go, Rust, or SwiftUI code.

Source Code (Ruby on Rails (ViewComponent))
16 Languages Available
<%# Ruby on Rails ViewComponent — 1 Component = 1 Desain (DMS OS) %>
<%= render Dms::Os::AccordionComponent.new(
      id: "dms-os-accordion-demo",
      variant: "default",
      class_name: "dms-os-accordion"
    ) do %>
  <div class="dms-os-stack" data-gap="sm">
    <span class="dms-os-text--strong">Accordion</span>
    <p class="dms-os-text--secondary">Governed by --dms-os-* tokens (Dominion Light).</p>
  </div>
<% end %>
All 66 Canonical Components Directory 100% Design System Parity
Settings
All settings are here. Pick one to open it.
My view
Back
Back

DMS OS Theme Editor

6-Axis Live Studio

Craft 5-Axis persona architecture, surface mode, primary accent, density, corner radius, and typography live.

Architecture Persona
Surface character, contrast profile, and base geometry
Surface Mode
Dark, light, or system-synchronized canvas lighting
Accent Color
18 governed primary palettes or custom HSV spectrum
HEX %
Interface Density
Control height, row rhythm, and spatial compactness
Corner Radius
Curvature across cards, buttons, inputs, and dialogs
Interface Typography
Primary typeface pairing across navigation, forms, and tables
Quick Presets
Advanced Configuration
Back
Editor
Click an area in the preview to show or hide it.
Quick layouts
PresetChoose a ready-made arrangement
18 Canonical Layout Presets
AppShell Presets Apply canonical AppShell region compositions instantly
Show
Primary sidebarShow the left sidebar
Bottom panelShow the panel below the editor
Secondary sidebarShow the right sidebar
Zen modeHide all sidebars and panels
Maximize
Primary sidebar maximizedWiden the left sidebar to full width
Bottom panel maximizedRaise the panel to full height
Secondary sidebar maximizedWiden the right sidebar to full width
Reset
Restore layoutAll areas shown and none maximized
Back
Preview
Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

def lorem(ipsum)
  ipsum.dolor? ? "sit amet" : 1234567890
end
Interface fontUsed for menus, tabs, and general text
Base sizeInterface text (px)
Line heightSpacing between lines (px)
WeightText weight
Code sizeEditor and terminal (px)
ResetBack to 13px · 22px · Regular
Back
Drag the ⋮⋮ handle on the left of a row to reorder menus.
Recent Activity Log (SSOT) Open Full Activity Log →

No recent activity recorded in this session.

© 2026 DMS