Recommend this page to a friend! |
![]() |
Info | Documentation | Screenshots | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 7 | All time: 11,525 This week: 488![]() |
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 (5) | ||
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation | ||
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | dist |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | dist | / | js |
File | Role | Description |
---|---|---|
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Doc. | Documentation |
![]() |
/ | resources | / | js | / | components |
File | Role | Description |
---|---|---|
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Data | Auxiliary data |
![]() ![]() |
Data | Auxiliary data |
![]() |
/ | screenshots |
File | Role | Description |
---|---|---|
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() ![]() |
Icon | Icon image |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
![]() | toggle-switch-field-2023-07-12.zip 169KB |
![]() | toggle-switch-field-2023-07-12.tar.gz 144KB |
![]() | Install with Composer |
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.