Skip to content

Example

The Example component is used 206 times on 117 pages.

See all examples of pages that use Example

Used 206 times.

Pages

Partials

Use the <Example> component to add a box around some content. This can be useful when you want to demonstrate or showcase something without it being confused by the surrounding text.

import { Example } from "~/components"

<Example>
    Hello, world!
</Example>

{/*
    `title` is an optional string which customizes the title of your example card
*/}

<Example title="Hello world">
    Hello, world!
</Example>

Was this helpful?