Mentions & Tags

Message input that highlights @-mentions in sky and #channel tags in violet amid plain body text.

Can we ping @mira about the #launch-prep agenda?

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Input27 } from "@/components/beste/piece/input27";

<Input27
  label="Thread"
  tokens={[
    {
      "text": "Can we ping "
    },
    {
      "text": "mira",
      "type": "at"
    },
    {
      "text": " about the "
    },
    {
      "text": "launch-prep",
      "type": "hash"
    },
    {
      "text": " agenda?"
    }
  ]}
/>

More Input pieces

View all Input
Mira violet#6D5EFA

Color field pairing a filled swatch with the chosen name and hex code and an eyedropper button.

typescript
12
const answer = 42;return answer * 2;

Code Input

input25

Dark mono code field with a language eyebrow, line-number gutter, and content lines on a foreground canvas.

Ready when you are

Hero Input

input14

Oversized text field with large type and a fatter caret, made for hero sections and prompt bars.

Beste Sözen

Bare text input atom with a focused state that adds a primary ring and a blinking caret after the value.

you@company.com

Inline email field with a mail icon and a primary submit button docked on the right.

How was your stay?
4.0
Tap to rate. Optional comment on the next step.

Five-star rater with filled amber stars in muted tiles and a decimal rating chip to the right.