Skip to content
Viewership Inquire
Astro UI

Value Pill.

Inline badge that sets a value off from running text.

ContentAtomNo dependencies Beautiful UI, MIT

.md

Approve the draft within 9 days so it ships before the Spring Trail launch on Nov 18.

Bounce rate on the trail pack page hit 62.4%, and two links are broken.

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 ValuePill.astro

    Paste into src/components/viewership/value-pill/

  3. Use it

    Page.astro
    ---
    import ValuePill from "../components/viewership/value-pill/ValuePill.astro";
    ---
    
    <ValuePill />

Props 1

PropTypeDefaultDescription
tone "neutral" | "green" | "orange" | "red" | "accent" "neutral" Tint, ring and text color.

Source 1 file

Ported from Beautiful UI, MIT. Notices.

Used by Recommendation Card