Text Actions

Floating actions for selected text.

Installation

npx shadcn@latest add https://brainframeui.tech/r/text-actions.json

Props

TextActions
PropTypeDefaultDescription
childrenstringRequiredText where selection actions appear.
actions{ label: string; onClick: (text: string) => void }[]RequiredActions shown for selected text.
classNamestringundefinedAdditional action bar styles.