tobiasnagel01/tailwind-buttons
最新稳定版本:1.1.2
Composer 安装命令:
composer require tobiasnagel01/tailwind-buttons
包简介
Button Components using Tailwind CSS
README 文档
README
This package provides you with a set of components of different styled buttons.
Authors
Installation
To install this package run
composer require tobiasnagel01/tailwind-buttons
Parameters
All following parameters can be added to all buttons.
Text:
<x-button::blue text="TestButton">
You can also put your own HTML Content inside this slot, for example to add a loading Spinner instead of text
Route:
<x-button::blue route="users.create">
Link: (This will be ignored when a route is provided)
<x-button::blue link="/users/create/">
Variants
Normal:
<x-button::blue> <x-button::green> <x-button::red> <x-button::yellow> <x-button::purple> <x-button::dark>
Rounded:
<x-button::rounded.blue> <x-button::rounded.green> <x-button::rounded.red> <x-button::rounded.yellow> <x-button::rounded.purple> <x-button::rounded.dark>
Outline:
<x-button::outline.blue> <x-button::outline.green> <x-button::outline.red> <x-button::outline.yellow> <x-button::outline.purple> <x-button::outline.dark>
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-18