Acceptance

The Acceptance component provides a reusable pattern for acceptance in the interface.

Acceptance: Known provider

Known providers will output a well-formed name if the provider, and include the providers privacy policy. Unknown will just output domain.

This is the title of a known website (Google). You can find their policy here: https://policies.google.com/privacy.

This is the information that is shown describing what accepting means.

Acceptance: Video

Acceptance adapts to video URL's automatically to provide a familiar user interface.

This is the information that is shown describing what accepting means.

Acceptance: Map

Acceptance adapts to map URL's automatically to provide a familiar user interface.

This is the title of a known website (ArcGIS). You can find their policy here: https://www.esri.se/sv-se/integritet/gdpr.

This is the information that is shown describing what accepting means.

API

Parameter Default Type Description
false object|array|boolean -
false string|boolean -
false array|boolean -
false string|boolean -
false string|boolean -
false string|boolean -
info string -
false string|boolean -
string -
true boolean -

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--color--alpha) rgba - Used for overlays. Includes opacity — set both color and alpha together.
var(--color--surface) color - Surface
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--border-radius) range - Border Radius
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--shadow-color) rgba - Shadow Color
var(--shadow-amount) range - Multiplier for elevation shadows. 0 = none, 1 = default.
var(--color--surface-border) color - Manual companion token for borders on surface elements.
var(--color--surface-alt) color - Manual companion token for subtle surface backgrounds.
var(--color--alpha-contrast) color - Used for text and icons on alpha overlays.
var(--font-size-400) range - Three steps above base in the type scale. Equivalent to h4.