Apple Macbook

Apple Macbook: Apple Macbook component. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Apple Macbook

npx motion-ui-skill add laptop

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Apple Macbook

Apple Macbook component.

Install

npx motion-ui-skill add laptop

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { LaptopMockupCard } from "@/components/mockups/laptop-mockup-card";

export function LaptopMockupCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <LaptopMockupCard />
    </div>
  );
}

API Reference

LaptopMockupCard

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category