Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

App Privacy Label

ProNew

What an app collects, in the three-part form app stores use: data used to track you, linked to you and not linked to you, with a single clear statement when nothing is collected.

Installation

pnpm dlx shadcn@latest add @viewport/app-privacy-label

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
titlestring

The heading.

"App privacy"
groups*PrivacyGroup[]

What the app collects, by how it is used. Pass an empty list when it collects nothing.

—
policyHrefstring

Where the full policy is.

—

Accessibility

  • A labelled section with a heading per group.
  • Each group explains itself in a sentence, not only an icon.
  • Groups stack on narrow containers.
  • Server component with no client JavaScript.