Louis Studios

Thermal Printer

Buttons 5

About

A graphite thermal printer that prints your receipt line by line, with a working FEED key that advances paper and a TEAR key that rips the slip away. The slip is a lines prop. More like this, plus a designer your coding agent can use, at studios.lou15.com/?ref=21st

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

Code

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

Usage.tsx

"use client";

import * as React from "react";
import { ThermalPrinter } from "@/components/ui/thermal-printer";

/** FEED pushes out paper, TEAR rips the slip away and the next receipt prints line by line. */
export default function ThermalPrinterDemo() {
  return (
    <main className="relative flex h-screen min-h-[560px] w-full items-center justify-center overflow-hidden" style={{ backgroundColor: "#0c100f" }}>
      <ThermalPrinter style={{ width: "100%", height: "100%" }} />
    </main>
  );
}

More by Louis Studios

View all
  • Warp Carousel

    Warp Carousel

    1.3K
  • Peak Chart

    Peak Chart

    1K
  • Dot Tiles

    Dot Tiles

    181
  • Glow Rocker

    Glow Rocker

    172
  • Cover Flow

    Cover Flow

    158
  • Chrome Arcs

    Chrome Arcs

    151
  • Chapter Player

    Chapter Player

    135
  • Market Card

    Market Card

    130

More in Buttons

View all
  • Hero Button

    Hero Button

    21
  • Eclipse Button

    Eclipse Button

    9
  • Button

    Button

    141
  • Button

    Button

    19
  • Texture Button

    Texture Button

    111
  • HeroUI Toggle Button

    HeroUI Toggle Button

  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    64
  • Water Ripple Button

    Water Ripple Button

    4