承接 soamn/maple 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

soamn/maple

最新稳定版本:v1.0.0

Composer 安装命令:

composer require soamn/maple

包简介

Beautiful Tailwind and Alpine components for Laravel Blade

README 文档

README

soamn/maple

Get Beautiful Ui Components for Laravel/Blade

!! Important - Remember to add Following CDN for alpine.js

<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>

📚 Quick Links

Install command

composer require soman/maple

php artisan maple:install [component]

Package Link

Components

Button Base

php artisan maple:install button/base

      <x-maple.button.base>
            Button
      </x-maple.button.base>

Button

Card/untouchable

php artisan maple:install card/untouchable

Props

maxRotation how much does the card rotate along the axis

      <x-maple.card.untouchable maxRotation=20 >
        <div>
        <p class="text-lg">Untouchable</p>
        <p class="text-sm">Touch me if you can</p>
        </div>
        <img src= '' alt="">
    </x-maple.card.untouchable>

untouchable

Card/carousal3d

php artisan maple:install card/carousal3d

Props

  • :items=[] array of array with id and image

  • autoRotate default-false Rotates the cards after several interval

        <x-maple.card.carousal3d :items="[
        [
            'id' => 1,
            'image' =>
                'https://example.png',
        ],
      .
      .
      .

    ]" />

carousal3d

tooltip

php artisan maple:install tooltip

Props

'tooltipBackground' => 'bg-black', 'tooltipText' => 'text-white', 'tooltipWidth' => '20',

:items=[] array of array with id and image

tooltipBackground Background Color of tooltip

tooltipText text color of tooltip

tooltipWidth width of the tooltip card

  <x-maple.tooltip :items="[
            ['id' => 2, 'name' => 'Jane', 'designation' => 'Designer', 'image' => 'https://example']
            .
            .
            .

           ]"
            tooltioWidth='fit' />

tooltip

typewriter

php artisan maple:install typewriter

Props

text string

 <x-maple.typewriter class="w-100"
            text="I lost control I wanted to kill him what that makes me " />

typewriter

sidebar

php artisan maple:install typewriter

Props

color bg-white

text text-black

boder border-zinc-800

Named Slots

header

SidebarItems

    <x-maple.sidebar color='bg-black' text="text-white" border="border-zinc-900">
        <x-slot name='header'>
            <span class="font-bold text-xl">Sidebar</span>
        </x-slot>

        <x-slot name="SidebarItems">
            <a href="#" class="block  px-3 py-2 rounded">Dashboard</a>
            <a href="#" class="block  px-3 py-2 rounded">Projects</a>
            <a href="#" class="block  px-3 py-2 rounded">Settings</a>
        </x-slot>


        <div class="p-6">
            <h1 class="text-3xl font-bold mb-4">Main Content</h1>
            <p>This content smoothly shifts when the sidebar opens or closes. Alpine.js manages the state.</p>
        </div>

    </x-maple.sidebar>

sidebar

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-15