volodymyr0587/laravel-cinememo-button

🎬 A reusable Laravel Blade component for cinema-style animated buttons with TailwindCSS.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/volodymyr0587/laravel-cinememo-button

v1.0.0 2025-10-03 14:22 UTC

This package is auto-updated.

Last update: 2025-12-23 19:09:11 UTC


README

A reusable Laravel Blade component for cinema-style animated buttons with TailwindCSS and dark mode support.
Perfect for apps that want a cinematic feel ✨.

🚀 Installation

Require via Composer:

composer require volodymyr0587/laravel-cinememo-button

Laravel auto-discovers the service provider, so no manual registration is needed.

🔧 Usage

In your Blade views, use the component:

<x-cinememo-button palette="gold" size="lg" glow href="/register">
    Sign Up
</x-cinememo-button>

⚙️ Props

Prop Type Values Default
href string|null If set, renders <a> instead of <button> null
size string sm, md, lg, xl md
palette string gold, red, silver, neon, blue, gold
purple, white, black, green, orange,
cyan, teal, indigo, rose, crimson,
aqua, lime, bronze, magenta, midnight
glow bool Adds glowing shadow effect false
disabled bool Adds disable effect false

🎨 Customization

You can publish the Blade view and modify it:

php artisan vendor:publish --tag=cinememo-button-views

This will copy the component to:

resources/views/components/cinememo-button.blade.php

where you can fully customize it.

🖼 Example

<x-cinememo-button palette="red" size="xl" glow>
    🎟 Buy Ticket
</x-cinememo-button>

📄 License

This package is open-sourced software licensed under the MIT license .