lucasmarkes

Plug Socket

Component 8

About

A small pointer-reactive line illustration of a plug lifting toward a wall socket, used as a decorative empty-state graphic.

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

Code

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

Usage.tsx

"use client";

import PlugSocket from "@/components/ui/plug-socket";

export default function PlugSocketDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <PlugSocket
        style={{ width: 280 }}
        aria-label="A wall socket, and a plug lying on the floor at the end of its cord"
      />
    </div>
  );
}

Dependencies

More by lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    121
  • Hairline Terrain

    Hairline Terrain

    59
  • Padlock

    Padlock

    50
  • Hairline Terminal

    Hairline Terminal

    46
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    43
  • Hairline Turntable

    Hairline Turntable

    37
  • Hairline Sieve

    Hairline Sieve

    31