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
    • Args
    • 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
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • YouTube
    • 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
    • Args
    • 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
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • YouTube
    • 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:

NameTypeRequiredDefaultComment
colsselect3
v0.19.0   
  Number of grid columns. Supported values: [1, 2, 3, 4, 5, auto].
gutterint4
v0.19.0   
  Gutter between columns in a group. Supported values: [0, 5].
responsiveboolFlag indicating if the number of columns should be responsive, defaults to true.
separatorboolFlag to indicate a horizontal line should be added between items on small screens.
titlestringTitle of the card group.
wrapperstringClass attributes of the wrapper element, e.g. p-4 px-xxl-0.

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

NameTypeRequiredDefaultComment
classstringClass attribute of the card element, e.g. “w-50”.
colorselectTheme color of the card. By default, no color is specified. Supported values: [primary, secondary, success, danger, warning, info, light, dark, white, black, body, body-tertiary].
footerselectnoneFooter components of the card, displayed in small caps. Supported values: [full, publication, tags, none].
gutterselect0Gutter between columns in a group. Supported values: [0, 1, 2, 3, 4, 5].
headerselectfullHeader components of the card, displayed in small caps. Supported values: [full, publication, tags, none].
loadingselecteagerLoading behavior of the image. The loading of lazily loaded images is deferred until the image is within scrolling range of the viewport. This should reduce the initial loading time of the website. It is recommended to lazily load only those images that are below the page fold. Supported values: [lazy, eager].
orientationselectstackedPlacement of the thumbnail or icon. Supported values: [stacked, horizontal, horizontal-sm, none].
paddingselectautoPadding of the content. Supported values: [0, 1, 2, 3, 4, 5, auto].
ratioselectRatio of the thumbnail image, defaults to 16x9 (stacked orientation) or 1x1 (horizontal orientation). Supported values: [1x1, 3x2, 4x3, 16x9, 21x9].

Examples  

See the card shortcode documentation for additional styling options.

Last updated: December 29, 2023 • Move arguments to data structure (1c660a2)
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.22.0-beta6
 
Links
Home 
About 
Docs 
Components 
Releases 
Guides
Getting started 
Developing modules 
Optimization 
Versioning 
Community
Issues   
Discussions   
Contribute 
Hinode
Code copied to clipboard