JavaScript is required

Sample of all SDP components - with no sidebar

This example page shows all of the components that can be used with the landing page template, with all sidebar content removed or turned off so you can see how the elements display on a full-width page.

Aboriginal flagTorres Strait Islander flag

The Victorian Government acknowledges Aboriginal Traditional Owners of Country throughout Victoria and pays respect to their cultures and Elders past and present.

This is an Introduction banner

This feature was created so that a webpage can have a hero image in the banner and then in this section you can include an intro sentence and feature links. These links display to the right.

yum yum choccie

Primary campaign

This is a primary campaign.

Primary campaign blocks sit at the top of the page, just under the header section and above the body content section.

Basic text

The basic text component is for inserting body content. This gives you the WYSIWIG (what you see is what you get) window, where you can:

  • format headings, paragraphs, lists, quotes and callouts
  • add links and buttons
  • insert images and other media.

Read our guides on using the basic text component on the Digital Victoria Help Centre.

See how things look on a live website on our Sample page: Basic text component formatting options.

Accordion (standard)

Numbered accordion

Cards

There are several card options that can be used for different purposes.

Promotion cards

Promotion cards are portrait-style (vertical) cards to link to other pages. They're often used on homepages and landing pages to display the site's main sections or subpages but can also link to external websites.

The first example has a thumbnail image and the second has a profile image. They can also be used with no image.

Navigation cards are landscape-style (horizontal) cards to link to other pages. They highlight programs we support or link to pages with related topics.

The first example has a thumbnail image and the second has a featured image. They can also be used with no image.

Call to action cards

A call to action (CTA) card is similar to a navigation or promotion card but with a button included. It is an invitation for your user to do something. It should be eye-catching and use active language.

The first example is a card CTA and the second is a banner CTA.

Key dates

The key dates component can be used to promote several important dates in a grid format. It is still under development and can be difficult to use.

Learn how to add key dates cards.

Card sorting options

As well as adding cards individually, there some components can be configured to display groups of cards:

  • Card carousel
  • Content collection
  • Compact card collection

Card carousels are a useful way to add a lot of cards without overcrowding a page. They can be set to auto-populate with news or events or you can manually add cards of your choice.

Read our guide to learn how to add card carousels(opens in a new window).

Content collection

This is the content collection component. It can be configured to display results

  • in a grid or list view
  • 3, 6 or 9 cards
  • only pages tagged to specific sites, site-sections and topics.

Compact card collection

Use the compact card collection to build a collection of clickable cards with an icon.

This is the title of the compact card collection

Images

The image gallery is built in the Custom block library. Find out how to build image galleries.

Complex image

The complex image component is used to present complicated graphical information like charts and graphs. Accessibility standards require these kinds of images to include a text alternative. You can also provide downloadable data for graphs.

Read our guide to learn how to add complex images(opens in a new window).

Complex image title

Timelines

The timeline component is used to arrange short 'blocks' of information in a linear chronological format.

Read our guide to learn how to add timelines.

Timeline title (optional in component; functions as H2)

  •  Fitzroy Street Tram Stop, Architect: Tract Consultants, Photography: Emma Cross

    Entry 1 title

    Summary – this is the entry description.

  • timeline swatch pink

    Entry 2 title

    Text - dates can also be entered here instead of the from/to field

    Summary – this is the entry description.

  • Entry 3 title

    10,000BC to next Wednesday

    Summary – this is the entry description.

Data

We have a few components for displaying data, including

  • Data table
  • Data driven component
  • Statistics grid

Data table

Unlike simple tables, which you build in the basic text component and which are best suited for tables containing text, the data table component is responsive - that means it automatically stacks your table by column or row on smaller screens, such as mobile phones.

Read our guide to learn how to add data tables(opens in a new window).

Heading of column 1Heading of column 2Heading of column 3Heading of column 4
Data Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Data Quisque sed dolor auctor arcu venenatis suscipit non dignissim velit.
Data Cras facilisis lorem diam, quis venenatis tortor elementum vel.
Data Cras ornare rhoncus dolor ac sollicitudin.
Data row 2
Data row 2
Data row 2
Data row 2
1,000,000
2,000,000
3,000,000
4,000,001

Statistics grid

Below is an example of the statistics grid component.

  • This is the statistic headingThis is the statistic body.
  • 70Apples
  • 150Oranges
  • 10Pears

Form

For more information on how to create or request forms, read the Process for new content.vic.gov.au webforms(opens in a new window) page on SDP.

Drupal form title

This is the Advanced HTML form element.

You can add text and apply formatting such as:

  • headings
  • hyperlinks
  • bullet point or numbered lists.

Use this element to give your users information or instructions.

Use this when you want or expect to be given a short answer, such as a person's name. 
Use this when you want or expect users to provide a longer answer, such as describing their complaint or feedback. The field is bigger and scrollable. 

It is recommended to put a word or character limit on this field. For example:
You should use this element to collect email addresses, as it apply an automatic validation and will reject any answer that doesn't follow a typical email format (e.g. ___@____.____)
Use this when you want to collect only numbers. You can set the minimum and maximum range, e.g. only allow a number between 1 and 10 to be accepted by the field. 

You can't set a minimum or maximum "string" of numbers, such as a maximum of 13 numerals (for phone number collection). 
 
Date element
Radio buttons(Required)

Radio buttons should be used when you only want a single answer provided. For example: Yes or No questions. 

This element has some conditional logic applied to the answers. Test it out by choosing Option 1, and then changing to Option 2.

The Select element should be used when you have a longer list of options for people to select from, and display these as radio buttons would be too long. 

Users can only select one option.

Want to know more about Drupal forms?(Required)
This element is a single checkbox, and should be used for circumstances such as asking the user to confirm their understanding or provide consent. 

Privacy statement element

The Department of Government Services (DGS) collects your personal information on behalf of [DEPT/ORG] and discloses that information to [DEPT/ORG] for the purpose of [XX]. If you choose not to provide all or part of the information required, we may not be able to contact you or action your request.

If you have any questions about how your personal information will be handled or would like to gain access to your personal information, you can contact [DEPARTMENT/ORG] on [PHONE] or [EMAIL].

We're using the services of Drupal 9 to administer this form. The information that you provide is stored by the Department of Government Services (DGS) on the Microsoft Azure infrastructure in Sydney, Australia.

For more information on our handling of any personal information, please refer to our privacy page.

More resources

Updated

""

Secondary campaign

This is a secondary campaign.

Secondary campaign blocks sit at the bottom of a page just above the blue fat footer and extend to full-screen width.