Show how to install Tansy UI on the landing page and docs
CI / check (push) Successful in 1m13s

The landing page had no install command anywhere, and the Storybook
welcome page only linked onward to Getting started. Add an Install
section to the site with the npm, pnpm, yarn and bun commands, the two
styling setups, and a link to the package on npmjs.com. Repeat the npm
command on the Storybook welcome page.

Also correct the roadmap, which still listed publishing the first
release and adding a public repository URL as pending. Both shipped in
0.4.0 and 0.4.1.
This commit is contained in:
thekhalidsha committed 2026-09-29 11:38:46 +05:30
1 parent 63fc279123
commit 260bb7c1ca
4 files changed
+233 -5

No files matched your search

+7 -1
View File
@@ -1,4 +1,4 @@
import { Meta } from '@storybook/addon-docs/blocks'
import { Meta, Source } from '@storybook/addon-docs/blocks'
import { DocHero, DocCards } from './DocBlocks'
import { documentation, totalStories } from '@tansy/brand'
@@ -11,6 +11,12 @@ import { documentation, totalStories } from '@tansy/brand'
Tansy UI is named after the tansy flower, also called golden buttons: many small round heads that read as one bloom. The kit works the same way. It currently has **{documentation.length} components** and **{totalStories} stories**, built on Base UI with React 19, TypeScript and Tailwind CSS v4.
## Install
<Source language="bash" code={`npm install @openkhalix/tansy-ui`} />
Then add one line of CSS, either `@import "@openkhalix/tansy-ui/tokens.css"` for Tailwind v4 apps, or `import '@openkhalix/tansy-ui/styles.css'` for apps without Tailwind. Both setups are covered in [Getting started](/docs/introduction-getting-started--documentation).
## Start here
<DocCards