Corner Hint
A glass hint in the bottom corner that grows in as it fades in, with a message that can replace it for a moment; announced politely to screen readers. No dependencies.
UnlistedNo dependencies
Not in the components list.
This is a simple piece that ships with a site built with mewo. It installs like any other item, but the catalog, the sidebar and search leave it out.
Seen inBetween Rivers
Select an object to read about it.Tap an object to read about it.
Install
Terminal
npx shadcn@latest add @mewo/corner-hintNot using the registry directory?
Point the CLI straight at the item URL:
npx shadcn@latest add https://www.mewo-ui.com/r/corner-hint.json
Props
| Prop | Type | Default | Description |
|---|---|---|---|
hint | { desktop: string; mobile: string } | placeholders | The hint on wide and narrow screens. |
message | string | — | Replaces the hint while set (e.g. the name of a picked object), and shows even when show is false. |
show | boolean | true | Whether the hint shows; it grows in from a little larger as it fades in. |
className | string | — | Merged onto the hint. |