russellbloxwich

Marker

Component

About

A small polymorphic label used as a status pill, outlined tag, or centered divider between grouped content such as chat messages.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Marker to your project and fits it to your theme.

Code

How Marker is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Marker from "@/components/ui/marker";

export default function OutlinedMarkerDemo() {
  return (
    <div className="flex min-h-[200px] w-full flex-wrap items-center justify-center gap-3 bg-background p-6">
      <Marker variant="border">Draft</Marker>
      <Marker variant="border" href="#">
        Linked reference
      </Marker>
      <Marker variant="border" type="button">
        Clickable
      </Marker>
    </div>
  );
}

Dependencies

More by russellbloxwich

View all
  • Code Block

    Code Block

    4
  • Sensitive Input

    Sensitive Input

    4
  • Chart

    Chart

    3
  • Layer Card

    Layer Card

    2
  • Direction Provider

    Direction Provider

    1
  • Switch

    Switch

  • Bubble

    Bubble

  • Meter

    Meter