Shopper provides a set of Blade components that you can use when extending the admin panel. These components are designed to maintain visual consistency across your custom features.Documentation Index
Fetch the complete documentation index at: https://docs.laravelshopper.dev/llms.txt
Use this file to discover all available pages before exploring further.
Available Components
The component library includes:Card
Container component with optional title and description for content grouping.
Alert
Colored alert boxes for displaying messages with different severity levels.
Heading
Page-level heading with optional action slot for buttons.
Section Heading
Section titles with optional descriptions for content organization.
Empty State
Placeholder component for empty data states with call-to-action.
Usage
All Shopper components are prefixed withx-shopper:: and can be used in any Blade view within the admin panel context:
Styling
Components use Tailwind CSS and support both light and dark modes out of the box. They follow the Shopper design system with consistent spacing, colors, and typography.Customization
You can customize components by:- Passing attributes: Most components accept standard HTML attributes via
$attributes - Using slots: Many components support named slots for flexible content placement
- Publishing views: Override component views by publishing them to your application
When overriding components, be careful to maintain the expected structure to avoid breaking the admin panel UI.