Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2023-07-12 (7 months ago) ![]() | Not enough user ratings | Total: 6 This week: 1 | All time: 11,246 This week: 79![]() |
Version | License | PHP version | Categories | |||
toggle-switch-field 1.0 | MIT/X Consortium ... | 7 | HTML, Content management, PHP 7 |
Description | Author | |
This package can output HTML for a Laravel Nova toggle switch field. |
|
https://github.com/naifalshaye/toggle-switch
You can install the package into a Laravel app that uses Nova via composer:
composer require naif/toggle-switch-field
Add the field to Nova Resource
public function tools()
{
# You can set the toggle switch color by color code.
return [
new ToggleSwitchField::make('toggle')->color('#3AB95A'),
];
}
<img src="screenshots/img.png" width="150"><br> <img src="screenshots/img_1.png" width="400"><br> <img src="screenshots/img_2.png" width="400"><br> <img src="screenshots/off.png" width="100"><br> <img src="screenshots/on.png" width="100"><br> <img src="screenshots/dark-off.png" width="100"><br> <img src="screenshots/dark-on.png" width="100"><br> <img src="screenshots/index.png" width="100"><br> <img src="screenshots/dark-index.png" width="100"><br> <img src="screenshots/detail-on.png" width="100"><br> <img src="screenshots/detail-off.png" width="100"><br> <img src="screenshots/dark-detail-off.png" width="100"><br> <img src="screenshots/dark-detail-on.jpg" width="100"><br>
naif@naif.io
https://naif.io
Bug Tracker:
https://github.com/naifalshaye/chatgpt-nova4/issues
The MIT License (MIT). Please see License File for more information.
Screenshots | ||
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation | ||
![]() ![]() |
Data | Auxiliary data |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.