Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Views: view--grid

Component implementation for views to display rows in a grid.

Key Features

  • Customizable HTML Attributes: Supports adding HTML attributes to the wrapping element, enhancing both functionality and styling.

  • Flexible Grid Options: Adapts to various grid styles based on the view's configuration, including alignment and column settings.

  • Dynamic Item Rendering: Efficiently handles the rendering of grid items, with support for both horizontal and vertical alignments.

Customization Options

  • Styling Flexibility: Utilize utility classes to tailor the appearance and layout of the grid.

  • Adaptive Content Display: Configurable for different types of content, making it suitable for a wide range of applications.

Usage

{% include 'radix:views-view--grid' with {
  title: 'Grid Title',
  view: view_object,
  rows: view_rows,
  options: grid_options,
  items: grid_items,
  view_view__grid_utility_classes: ['additional-utility-class']
} %}
PreviousViews: viewNextViews: view--table

Last updated 1 year ago

Was this helpful?