Shadcn legal blocks(61)

Legal and compliance UI components.

PRO

Cookie Preference Center

PRO

Legal Document with Sticky Contents

PRO

Readable Policy

PRO

Reprint Permissions In Three Columns

PRO

Cookie Preference Centre

PRO

Data Rights Request

FREE

Plain Words Terms Table

PRO

Subprocessor Register

PRO

Trust And Compliance Overview

PRO

Policy Document With Table Of Contents

PRO

Rights Comparison Table

PRO

Tabbed Platform Policies

Legal pages, consent and disclosures

Legal blocks are sections for policy pages, cookie consent and the notices a site may need to publish. With them you can lay out a privacy policy, terms of service, a cookie banner and disclaimers.

The demo text is placeholder copy, so have your policies written or reviewed for your business. The cookie blocks store nothing, so connect their actions to your consent tool.

What the category covers

  • Policy pages: long documents with a sticky table of contents, numbered terms, a privacy policy, a cookie policy and a license agreement.
  • Summaries: a terms summary, a privacy summary card, a privacy FAQ and a table that sets each clause beside a plain-language reading.
  • Consent: a cookie banner, preference centers with a switch per category, and an age gate.
  • Data rights: a GDPR rights panel, a data request timeline and a retention table.
  • Notices: financial, medical, affiliate, AI and data breach notices, an accessibility statement and a subprocessor list.

Link the policies from the footer blocks, answer common data questions with the FAQ blocks, and put privacy controls inside your app with the settings blocks. Nearly every legal block is Pro. The plain-language terms table is free.

Questions

Does the cookie consent banner remember the visitor's choice?

No. The banner calls onAcceptAll, onRejectAll and onCustomize handlers, and you store the choice in your consent tool.

Does the cookie preference center write cookies?

No. Its buttons have no handlers, and nothing is saved. You connect the switches to your own consent storage.

Can I use the demo text as my privacy policy?

No. It is placeholder copy. Replace it with a policy written or reviewed for your business.

Is there a policy page with a table of contents?

Yes. One policy page has a sticky table of contents that jumps to each section. On small screens it becomes a plain list.

Is there an age verification gate?

Yes. You set the minimum age, and the confirm and deny buttons call your own handlers.

Can I list every cookie the site sets?

Yes. The cookie preference center has a table with each cookie, who sets it, its purpose and how long it is kept.

Is there a GDPR data rights panel?

Yes. It lists the rights to access, rectify, erase, restrict and export data, each with a request button.

Are the legal blocks free?

Nearly all are Pro. The plain-language terms table is free.

Markdown version