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.

link-select.html.erb Copy snippet Copied!
1
<%= render LinkSelectComponent.new(label: "Label", icon: "square") %>

Link Select

A link with a trailing chevron, used as a Menu trigger — the chevron flips up and the label remains un-underlined while the menu is open. Takes an optional caller-selected leading icon.

Leading icon
PropTypeDefault
label Trigger text. Also accepts a content block. String nil
icon Optional caller-selected Central icon name, rendered via IconComponent before the label (Figma "Leading Icon?" boolean). String nil
**html_options Extra HTML attributes (id, data-*, aria-*, class, …). Hash —

Contains

  • Icon