Hinode logo
  • About 
  • Docs 
  • Components 
  • Guides 
  • Releases 
  •  
  •    Toggle theme
    •   Light
    •   Dark
    •   Auto
  •  
    •   Light
    •   Dark
    •   Auto
Docs
    • Introduction
    • Commands
    • Hosting and deployment
    • Upgrading
    • Contribute
    • Troubleshooting
    • Content management
    • Content organization
    • Typography
    • Links and cross-references
    • Images and figures
    • Tables
    • Icons
    • Layout
    • Colors
    • Color modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Badge
    • Breadcrumb
    • Button
    • Button group
    • Card
    • Card group
    • Carousel
    • Collapse
    • Command prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and tabs
    • Release
    • Spinner
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • Overview
    • Styles
    • Scripts
    • Icons
    • Module development
    • Server headers
    • Server-side redirection
    • Credits
    • License
    • Introduction
    • Commands
    • Hosting and deployment
    • Upgrading
    • Contribute
    • Troubleshooting
    • Content management
    • Content organization
    • Typography
    • Links and cross-references
    • Images and figures
    • Tables
    • Icons
    • Layout
    • Colors
    • Color modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Badge
    • Breadcrumb
    • Button
    • Button group
    • Card
    • Card group
    • Carousel
    • Collapse
    • Command prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and tabs
    • Release
    • Spinner
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • Overview
    • Styles
    • Scripts
    • Icons
    • Module development
    • Server headers
    • Server-side redirection
    • Credits
    • License

Card Group

Share via
Hinode
Link copied to clipboard

Use the card-group shortcode to display a group of cards.

On this page
 

  • Overview
  • Arguments
  • Examples

Overview  

Added in v0.18.6  

Use the card-group shortcode to display a group of cards. Add inner <card> elements for each card. As an example, the following shortcode displays a group of three cards.

 

Bootstrap framework

Build fast, responsive sites with Bootstrap 5. Easily customize your site with the source Sass files.

 

Full text search

Search your site with FlexSearch, a full-text search library with zero dependencies.

 

Development tools

Use Node Package Manager to automate the build process and to keep track of dependencies.

markdown
{{< card-group padding="3" gutter="3" >}}
    {{< card title="Bootstrap framework" icon="fab bootstrap" >}}
        Build fast, responsive sites with Bootstrap 5. Easily customize your site with the
        source Sass files.
    {{< /card >}}
    {{< card title="Full text search" icon="fas magnifying-glass" >}}
        Search your site with FlexSearch, a full-text search library with zero dependencies.
    {{< /card >}}
    {{< card title="Development tools" icon="fas code" >}}
        Use Node Package Manager to automate the build process and to keep track of
        dependencies.
    {{< /card >}}
{{< /card-group >}}

Arguments  

The shortcode supports the following arguments:

ArgumentRequiredDescription
colsNoNumber of columns for the grid, must be a value between “1” and “5”, or set to “auto” (new in
v0.19.0  
  ). Defaults to “3”. When using auto-layout, columns are horizontally stacked using Bootstrap’s grid system  . Set the column width on the class of each invidual card as desired.
titleNoOptional title of the card group.
separatorNoOptional flag to indicate a horizontal line should be added between items on small screens.
gutterNo
v0.19.0  
  Gutter between columns in a group, either “0”, “1”, “2”, “3” (default), “4”, or “5”.
responsiveNoOptional flag if the number of columns should be responsive, defaults to “true”.

In addition, the following arguments are passed to the individual cards.

ArgumentRequiredDescription
classNoOptional class attribute of the card element, e.g. “w-50”.
colorNoOptional theme color of the card, either “primary”, “secondary”, “success”, “danger”, “warning”, “info”, “light”, “dark”, or “body”. By default, no color is specified.
paddingNoOptional padding of the content, either “0”, “1”, “2”, “3” (default), “4”, “5”, or “auto”.
headerNoOptional header components of the card, displayed in small caps. Supported values are “full” (default), “publication”, “tags”, and “none”.
footerNoOptional footer components of the card, displayed in small caps. Supported values are “full”, “publication”, “tags”, and “none” (default).
orientationNoOptional placecement of the thumbnail, either “stacked” (default), “horizontal”, or “none”.

Examples  

See the card shortcode documentation for additional styling options.

Last updated: September 2, 2023 • Update references to release v0.19.0 (2487fd0)
On this page
  • Overview
  • Arguments
  • Examples
Card Group
Card Group
Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5.
Code licensed MIT, docs CC BY-NC 4.0
Currently v0.21.8
 
Links
Home 
About 
Docs 
Components 
Releases 
Guides
Getting started 
Developing modules 
Optimization 
Versioning 
Community
Issues  
Discussions  
Contribute 
Hinode
Code copied to clipboard