sink

A collection of components for Filament.

MIT License

Stars
2

A collection of components for Filament.

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require awcodes/sink

Fixed Width Sidebar

use Awcodes\Sink\Components\FixedWidthSidebar;

FixedWidthSidebar::make()
    ->mainSchema(array | Closure $schema)
    ->sidebarSchema(array | Closure $schema)
    ->breakpoint(string | int $breakpoint)
    ->sidebarWidth(string | int $width)

Heading

use Awcodes\Sink\Components\Heading;

Heading::make()
    ->level(string | int $level)
    ->content(string | Closure $content)
    ->color(string | array | Closure | null $color);

Separator (Horizontal Rule)

use Awcodes\Sink\Components\Separator;

Separator::make()
    ->color(string | array | Closure | null $color);

Timestamps

use Awcodes\Sink\Components\Timestamps;

Timestamps::make();

Now Action

use Awcodes\Sink\Components\NowAction;

DatePicker::make('published_at')
    ->suffixAction(NowAction::make('published_at'));

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.