A simple Bootstrap-style Card for Silverstripe Elemental. Intended for use with Elemental Grid.
- PHP ^8.3
- SilverStripe ^6.0
- dnadesign/silverstripe-elemental ^6.0
- silverstripe/linkfield ^5.0
- jonom/focuspoint ^6.0
composer require dynamic/silverstripe-elemental-cardAfter installation, run dev/build and flush:
vendor/bin/sake dev/build flush=allSee License
Elemental Card provides a flexible card component for displaying content with an optional image and link. Each card can include:
- Title - The card heading
- Content - HTML content for the card body/description
- Image - An optional image that enhances the card
- Link - An optional call-to-action link using SilverStripe LinkField, supporting internal pages, external URLs, email links, and more
Cards are perfect for:
- Feature highlights
- Team member profiles
- Product or service showcases
- News or blog post teasers
- Call-to-action blocks
When used with Elemental Grid, you can create responsive card layouts with multiple cards per row.
The default templates are based on the Bootstrap 5 card component, making it easy to integrate with Bootstrap-based themes. You can override the templates in your own theme to match your design system.
See Elemental modules by Dynamic
See SilverStripe Elemental Configuration
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.