Sha256: 45a86e3f72bb5276480f9b90faa6db55cc945c9821eecccac1efc81810b318cd

Contents?: true

Size: 621 Bytes

Versions: 11

Compression:

Stored size: 621 Bytes

Contents

<div data-controller="ui--tooltip">
  <div class="tooltip-trigger"
       data-ui--tooltip-target="trigger">
    <%= content_for(:tooltip_trigger) %>
  </div>

  <div class="tooltip-wrapper" data-ui--tooltip-target="wrapper">
    <div data-side="top"
         data-ui--tooltip-target="content"
         data-align="center"
         data-state="closed"
         role="dialog"
         class="hidden z-50 rounded-md border bg-tooltip p-4 text-tooltip-foreground shadow-md outline-none <%= content_for(:tooltip_content_class) %>"
         tabindex="-1">
      <%= content_for(:tooltip_content) %>
    </div>
  </div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.14 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.13 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.12 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.10 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.8 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.5 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.4 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.3 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.2 app/views/components/ui/_tooltip.html.erb
shadcn-ui-0.0.1 app/views/components/ui/_tooltip.html.erb