Marigold
Getting StartedFoundationsComponentsPatternsReleases
Discover new Tutorials!

Components

Overview

Application

MarigoldProvider
RouterProvider

Layout

Aside
Aspect
Breakout
Center
Columns
Container
Grid
Inline
updated
Inset
Scrollable
Split
Stack
Tiles

Form

Autocomplete
updated
Button
updated
Calendar
Checkbox
updated
ComboBox
updated
DateField
DatePicker
Form
Multiselect
NumberField
Radio
updated
SearchField
Select
Slider
updated
Switch
TextArea
updated
TextField
TimeField

Collection

SelectList
Table
updated
Tag

Navigation

Accordion
Breadcrumbs
beta
Pagination
Tabs

Overlay

ContextualHelp
Dialog
Menu
Toast
beta
Tooltip

Content

Badge
Card
Divider
Headline
Icon
Link
List
SectionMessage
SVG
Text
VisuallyHidden
XLoader

Formatters

DateFormat
updated
NumericFormat
updated

Hooks and Utils

cn
cva
extendTheme
useAsyncListData
useListData
useResponsiveValue
useTheme

Tiles

Organize the content in tiles of equal width.

The <Tiles> is a layout component which is based on CSS grid system.

Usage

<Tiles> serves as a versatile container, ideal for constructing panels, cards, lists, and other content components that organize and group information. They automatically wraps children to a new line if the space given is not enough to show the <Tiles> in one row.

It's possible to display the items with some spacing through space prop or set a minimum width for all items inside <Tiles> with tilesWidth prop.

Preview
Code
Grand Avenue Ballroom

Grand Avenue Ballroom

An elegant ballroom with crystal chandeliers and a full proscenium stage, ideal for gala dinners, award nights, and concerts.
Maple Court Theatre

Maple Court Theatre

A comfortable mid‑size theatre with raked seating and modern AV, designed for comedy, theatre, and lectures.
Broadway Community Center

Broadway Community Center

A multipurpose community center with flexible rooms and a small auditorium for talks, classes, and local performances.
Hillcrest Open Pavilion

Hillcrest Open Pavilion

An open‑air pavilion with a covered stage and movable seating, set in a hillside park for fairs and seasonal shows.
Bloomfield Garden Lawn

Bloomfield Garden Lawn

A landscaped garden lawn with power access and tent options, great for large outdoor receptions and summer series.
Riverside Theatre

Riverside Theatre

A modern theatre on the riverfront offering excellent acoustics and seating for cultural and entertainment events.
Downtown Conference Hall

Downtown Conference Hall

A versatile conference facility in the heart of the city, ideal for corporate events and seminars.
Sunset Arena

Sunset Arena

A large open-air arena perfect for concerts and sports, offering panoramic views during sunset.
Grandview Stadium

Grandview Stadium

A major stadium for sports and concerts, offering modern facilities and large-scale seating.
Greenfield Park Pavilion

Greenfield Park Pavilion

An outdoor pavilion surrounded by nature, perfect for community gatherings and open-air performances.
City Arts Center

City Arts Center

A hub for arts and culture with flexible event spaces for performances, exhibitions, and talks.
Highland Amphitheatre

Highland Amphitheatre

An outdoor amphitheatre carved into the hillside, ideal for concerts under the stars.
Lakeside Pavilion

Lakeside Pavilion

A lakeside venue with open-air charm, perfect for weddings, banquets, and concerts.
Northside Community Hall

Northside Community Hall

A community hall offering flexible spaces for local events, gatherings, and small performances.
Heritage Hall

Heritage Hall

A restored historic hall, now hosting concerts, weddings, and special community events.
Eastside Sports Dome

Eastside Sports Dome

A covered sports dome suitable for large-scale sporting events and exhibitions.
West End Club

West End Club

A stylish lounge and club with live entertainment and a modern atmosphere.
Cedar Grove Pavilion

Cedar Grove Pavilion

A rustic outdoor pavilion surrounded by cedar trees, popular for weddings and festivals.
Harbor View Hall

Harbor View Hall

A formal hall with panoramic harbor views, ideal for gala dinners and concerts.
Silverstone Arena

Silverstone Arena

A modern multipurpose stadium hosting sports and concerts with world-class facilities.

Equal heights

If you need to have the items in the <Tiles> take the same height, you can use the equalHeight property, which is a boolean value that can be used to size the items of the <Tiles>. In this case, all items adopt the size of the largest card, making it essential when you want all items to match the largest child’s dimensions.

Preview
Code

Stretch width

Using the stretch property will make the tiles fully responsive. Meaning, they will distribute available width between them while not getting smaller then the given tilesWidth.

Preview
Code

Props

Did you know? You can explore, test, and customize props live in Marigold's storybook. Watch the effects they have in real-time!
View Tiles stories
aria-describedby?
string;
Identifies the element (or elements) that describes the object.
aria-details?
string;
Identifies the element (or elements) that provide a detailed, extended description for the object.
aria-label?
string;
Defines a string value that labels the current element.
aria-labelledby?
string;
Identifies the element (or elements) that labels the current element.
aria-live?
"off" | "polite" | "assertive";
Indicates the level of importance for updates in the live region.
  • 'off': Updates are not announced unless focused.
  • 'polite': Updates are announced when the user is idle.
  • 'assertive': Updates are announced immediately, interrupting other announcements.
children
ReactNode;
The children of the component.
equalHeight?
boolean;
If true, all items will have the height of the biggest item.
Defaults to:
"false"
id?
string;
The element's unique identifier. See MDN.
role?
"region" | (string & {});
Identifies the element a significant section of content for easier navigation. When region is used as a role, an aria-label or aria-labelledby must be provided. See MDN.
space?
GapSpaceProp;
The space between the children. You can see allowed tokens here.
Defaults to:
0
stretch?
boolean;
Tiles will stretch to available width and will distribute their width equally. Note that this can make them wider than the specified tiles width, but not smaller than the given "tilesWidth". Basically, this is full responsive mode.
Defaults to:
"false"
tilesWidth?
string;
Set minimum width for all items inside.
Defaults to:
250px

Alternative components

  • Columns: It should be noted that <Tiles> is used for children with the same width. If you want to set different widths for the children use <Columns> instead.

  • Grid: If you need more custom controll over the layout, you should use <Grid> component instead.

Related

Building layouts
Learn how to build layouts.
Last update: 4 months ago
Build with 🥵, 🧡 and
v15.2.0