Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lennardv2/laravel-blade-components
Laravel blade components
https://github.com/lennardv2/laravel-blade-components
Last synced: 1 day ago
JSON representation
Laravel blade components
- Host: GitHub
- URL: https://github.com/lennardv2/laravel-blade-components
- Owner: lennardv2
- Created: 2021-05-22T13:13:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-22T15:04:05.000Z (over 3 years ago)
- Last Synced: 2024-04-21T11:56:25.672Z (7 months ago)
- Language: Blade
- Size: 493 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel blade components
Senna UI is a set of nice looking opensource blade components. They can be wired up via Livewire or used without it. Checkout the docs at https://getsenna.com/senna-ui/v1. It's called senna/ui on packagist. Livewire users: all of the components are wire-modelable via wire:model.
## Installation
Install the package with composer and publish the assets with the senna-ui:install command:
```
composer require senna/ui
```
```
php artisan senna-ui:install
```Add the head component to your layouts page head-tag. This will include the styles and the theme. Also add the footer component before your layouts closing body tag. This will include the js dependencies when needed by a component.
```
..
@include("senna.ui::theme")
@include("senna.ui::styles")
@include("senna.ui::extra-styles")..
@include('senna.ui::scripts')
@include('senna.ui::extra-scripts')```
## Documentation
You can preview the components and see the full documenation on: https://getsenna.com/senna-ui/v1