Bloom.Components.BentoGrid (bloom v0.0.8)
Bento grid component with bento cards.
See bento_card/1
for usage.
Whitelist col_start, col_end, row_start, row_end.
Summary
Functions
Attributes
name
(:string
) (required)description
(:string
) (required)icon
(:string
) - Hero-icon name. Defaults to"hero-trophy"
.col_start
(:integer
) - Defaults to1
.col_end
(:integer
) - Defaults to3
.row_start
(:integer
) - Defaults to1
.row_end
(:integer
) - Defaults to1
.class
(:string
) - CSS class for parent div. Defaults to""
.
Slots
background
inner_block
(required)
Attributes
class
(:string
) - CSS class for parent div. Defaults to""
.
Slots
inner_block
(required)
Functions
Link to this function
bento_card(assigns)
Attributes
name
(:string
) (required)description
(:string
) (required)icon
(:string
) - Hero-icon name. Defaults to"hero-trophy"
.col_start
(:integer
) - Defaults to1
.col_end
(:integer
) - Defaults to3
.row_start
(:integer
) - Defaults to1
.row_end
(:integer
) - Defaults to1
.class
(:string
) - CSS class for parent div. Defaults to""
.
Slots
background
inner_block
(required)
Link to this function
bento_grid(assigns)
Attributes
class
(:string
) - CSS class for parent div. Defaults to""
.
Slots
inner_block
(required)