Tax basis
- from @twelfth
Whether a price includes tax, as a badge the price sits inside: filled when the tax is in the figure, hollow when it is left out. Hover explains the tax (GST, VAT, GST/HST, sales tax), its rate and the price on the other basis. Show, hide, or print both bases.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @twelfth/tax-basisComponent source
No live preview has been built for this component yet.
Registry dependencies2
- tooltip
- retail-format
Packages0
No npm packages are installed with it.
