Tag

A small chip for a label or a filter, optionally dismissible.

Example

reactmsgpackworkers
tsx
<Stack direction="row" gap="sm" wrap>
  <Tag>react</Tag>
  <Tag>msgpack</Tag>
  <Tag dismissible>workers</Tag>
</Stack>

Usage

Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.
tsx
import { Tag, Stack } from "@dash/server";

Props

TagProps

Prop
Type
Description
dismissibleboolean
onDismiss() => void
PreviousBadge
NextMark
On this page