volodymyr0587/laravel-cinememo-button
最新稳定版本:v1.0.0
Composer 安装命令:
composer require volodymyr0587/laravel-cinememo-button
包简介
🎬 A reusable Laravel Blade component for cinema-style animated buttons with TailwindCSS.
README 文档
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 .
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-03