uiable

Bubble Collapsible

Component 2

About

A chat message bubble that truncates long text and reveals the full message with a "Show more/Show less" collapsible toggle.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Bubble Collapsible to your project and fits it to your theme.

Code

How Bubble Collapsible is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import BubbleCollapsible from "@/components/ui/bubble-collapsible";

export default function BubbleCollapsibleDemo() {
  return <BubbleCollapsible />;
}

Dependencies

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    339
  • Card Tabs

    Card Tabs

    100
  • Financial Bento Grid

    Financial Bento Grid

    70
  • Chart Tooltip

    Chart Tooltip

    67
  • Marketing Hero Section

    Marketing Hero Section

    58
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    57
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    50
  • Position Sonner

    Position Sonner

    48