Bookmark Save

Bookmark Save: Save for later — bookmark icon fills amber and label swaps to Saved. Square-ish control for articles and products. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Bookmark Save

npx motion-ui-skill add bookmark-save-button

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

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Source files

Bookmark Save

Save for later — bookmark icon fills amber and label swaps to Saved. Square-ish control for articles and products.

Install

npx motion-ui-skill add bookmark-save-button

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import { BookmarkSaveButton } from "@/components/buttons/bookmark-save-button";

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

API Reference

BookmarkSaveButton

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

Browse this category