panelui

Frame

Component

About

A panel of rows set into a tray, with the tray's top strip carrying the title.

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

Code

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

Usage.tsx

import { BellIcon, CreditCardIcon, KeyRoundIcon, UserRoundIcon } from 'lucide-react';
import { Frame } from '@/components/ui/panel-frame';
const PAGES = [
  { title: 'Profile', description: 'Name, photo and time zone', Icon: UserRoundIcon },
  { title: 'Notifications', description: 'Email and push', Icon: BellIcon },
  { title: 'Security', description: 'Passkeys and sessions', Icon: KeyRoundIcon },
  { title: 'Billing', description: 'Plan and invoices', Icon: CreditCardIcon },
];

export default function FrameLinks() {
  return (
    <Frame className="w-full max-w-sm">
      <Frame.Header>
        <Frame.Title>Account</Frame.Title>
      </Frame.Header>
      <Frame.Panel>
        {PAGES.map(({ title, description, Icon }) => (
          <Frame.Row key={title} href="#" chevron>
            <Frame.Media className="text-muted-foreground">
              <Icon className="size-4" />
            </Frame.Media>
            <Frame.Content>
              <Frame.Title as="p">{title}</Frame.Title>
              <Frame.Description>{description}</Frame.Description>
            </Frame.Content>
          </Frame.Row>
        ))}
      </Frame.Panel>
    </Frame>
  );
}

Dependencies

More by panelui

View all
  • Spinner

    Spinner

    8
  • Flow

    Flow

    4
  • Hex Chart

    Hex Chart

    2
  • Treemap Chart

    Treemap Chart

    1
  • Soundwave

    Soundwave

    1
  • Share

    Share

    1
  • Scatter Chart

    Scatter Chart

    1
  • Pyramid Chart

    Pyramid Chart

    1