Skip to content
Viewership Inquire
Astro UI

Chip.

Monospace chip for code values and field names in text.

ContentAtomNo dependencies Beautiful UI, MIT

.md

Every weekly report is keyed by client_id and pulled once per day. Set utm_campaign before the draft goes out; if ga4_property is missing, the report falls back to last week's source.

Tokens · brand_voice.yaml · draft_214

Install

  1. Import the foundation once

    foundation.css holds the tokens every component reads.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Copy Chip.astro

    Paste into src/components/viewership/chip/

  3. Use it

    Page.astro
    ---
    import Chip from "../components/viewership/chip/Chip.astro";
    ---
    
    <Chip />

Props 1

PropTypeDefaultDescription
tone "neutral" | "accent" | "orange" "neutral" Background tint and text color.

Source 1 file

Ported from Beautiful UI, MIT. Notices.