Skip to content

Components ​

This page exists to check the styling of different VitePress components

Callouts ​

INFO

This is an info box.

TIP

This is a tip.

WARNING

This is a warning.

DANGER

This is a dangerous warning.

Details

This is a details block.

GitHub-flavored Alerts ​

NOTE

Highlights information that users should take into account, even when skimming.

TIP

Optional information to help a user be more successful.

IMPORTANT

Crucial information necessary for users to succeed.

WARNING

Critical content demanding immediate user attention due to potential risks.

CAUTION

Negative potential consequences of an action.

Code Blocks ​

js
export default { // Highlighted
  data () {
    return {
      msg: `Highlighted!
      This line isn't highlighted,
      but this and the next 2 are.`,
      motd: 'VitePress is awesome',
      lorem: 'ipsum',
    }
  }
}
js
export default {
  data() {
    return {
      msg: "Error",
      msg: "Warning",
    };
  },
};

Badges ​

Title default ​

Title ^1.9.0 ​

Title beta ​

Title caution ​