Search by

electrik / slate-blocks

neerajsohal

Curated Blade UI blocks for Electrik Slate — marketing, auth, and application sections composed from Slate primitives.

Package info

github.com/electrikhq/slate-blocks

Language:Blade

pkg:composer/electrik/slate-blocks

Fund package maintenance!

electrikhq

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.3.0 2026-10-22 07:26 UTC

This package is auto-updated.

Last update: 2026-10-22 07:46:24 UTC


README

Clean, modern building blocks for Electrik Slate. Copy them into your Blade views. Composed from <x-slate::*> primitives.

~24 blocks. Not a page builder. Not merged into Slate core.

Animated UI scenes for landing pages live in electrik/slate-illustrations. Decorative. Not live screens.

Requirements

  • PHP 8.3+
  • Laravel 12+
  • electrik/slate ^3.0

Install

composer require electrik/slate-blocks

Path-link (monorepo / local):

{
  "repositories": [
    { "type": "path", "url": "../slate-blocks", "options": { "symlink": true } }
  ],
  "require": {
    "electrik/slate-blocks": "@dev"
  }
}

Tailwind

Scan block views so classes are generated:

@source '../../vendor/electrik/slate-blocks/resources/views/**/*.blade.php';

Usage

<x-slate-block::hero
    title="Ship your SaaS"
    description="Auth, teams, and billing on Laravel."
    primary-href="/install"
    primary-label="Install guide"
    secondary-href="https://demo.electrik.dev"
    secondary-label="Live demo"
/>

Need animated UI for a landing page? Install electrik/slate-illustrations.

Need the full SaaS shell? Blocks compose with Electrik (auth, teams, Stripe) — install.

Catalog metadata (docs gallery / MCP):

use Electrik\SlateBlocks\Blocks;

Blocks::all();
Blocks::find('hero');

License

MIT