FEEDBACK

Hint

Numbered Memphis callout. Use to highlight steps in a how-to, key insights inside long-form docs, or numbered captions on a marketing page.

Import

import { Hint } from 'damo-ui'

Live preview

1

Numbered insight

Pair the numbered tile with a short paragraph. The tile is a Memphis-bordered slab — keep titles short.

2

Pair with surrounding copy

Use Hints inside long-form docs or how-to flows.

1<Hint num={1} title="Numbered insight">
2  Pair the numbered tile with a short paragraph. The tile is a
3  Memphis-bordered slab — keep titles short.
4</Hint>
5<Hint num={2} title="Pair with surrounding copy">
6  Use Hints inside long-form docs or how-to flows.
7</Hint>

Props

Hint props
PropTypeDefaultDescription
num*numberNumber rendered inside the leading 40×40 tile.
title*ReactNodeShort heading rendered in display font.
children*ReactNodeBody paragraph below the title.
classNamestringTailwind classes are merged on top of the wrapper.

Accessibility

Hint renders a vanilla div with semantic h4 + p children. The number tile carries no aria-hidden, so screen readers will announce it before the title — this is intentional, since the number is part of the callout's meaning.