byronwade/ui
Application UI

AI · Application UI

Context

Hover-card token/cost usage meter for AI model context windows (adapted from Vercel AI Elements).

@byronwade/foundation@byronwade/utils@byronwade/button@byronwade/hover-card@byronwade/progressaitokenlens

Adapted from Vercel AI Elements , the original components, repurposed onto the byronwade/ui design system (semantic tokens, dark mode, small subtle refinements). © Vercel.

Feature showcase

Installation

Features

  • 1 example

    Default.

API

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@byronwade/buttonregistryInstalled through the byronwade/ui registry.
@byronwade/hover-cardregistryInstalled through the byronwade/ui registry.
@byronwade/progressregistryInstalled through the byronwade/ui registry.
ainpmInstalled from npm.
tokenlensnpmInstalled from npm.

Source and related

FilePath
Componentregistry/components/ai-context.tsx
Default examplecontent/examples/ai-context/default.tsx