Module: Shadcn::Attachment

Extended by:
Parts
Defined in:
app/components/shadcn/attachment.rb,
app/components/shadcn/attachment/preview.rb,
app/components/shadcn/attachment/component.rb,
app/components/shadcn/attachment/media/component.rb,
app/components/shadcn/attachment/action/component.rb,
app/components/shadcn/attachment/trigger/component.rb

Overview

The parts of the Attachment family that are just an element with a data-slot and a fixed set of classes. Anything with variants, slots or markup of its own keeps its own component.rb.

attachment-group and attachment-title reach for three utilities that are shadcn's own CSS rather than Tailwind's — scroll-fade-x, scrollbar-none and shimmer. They are defined in shadcn.css; see the comment there for where they were read from and what could not be checked.

Defined Under Namespace

Modules: Action, Media, Trigger Classes: Component, Preview

Method Summary

Methods included from Parts

part