Button Card Data List Detail Disclosure Divider Field Set Icon Button Icon Icon Select Inline Text Field Label Link Link Select Menu Modal Rich Text Box Section Select Tabs Tag Text Text Field Text Field With Prefix Toggle

Dimsum v2.0.0

An agentic component library for Ruby On Rails.

Title
This is some content.
disclosure.html.erb Copy snippet Copied!
1
<%= render DisclosureComponent.new(title: "Title") %>

Disclosure

A responsive bordered disclosure panel with a title, optional caption, and component-owned Central caret. Hover to inspect the emphasized border.

Open
PropTypeDefault
title Required summary headline. String required
caption Optional muted subtitle under the title. String nil
open Initial expanded state (default false). Boolean false
**html_options Extra attrs on the root <details>. Hash —

Contains

  • Icon