Skip to content

Commit b60f2d5

Browse files
committed
feat: inkkit welcome page
1 parent 657c67a commit b60f2d5

File tree

4 files changed

+104
-13
lines changed

4 files changed

+104
-13
lines changed

.storybook/preview.ts

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ const preview: Preview = {
2626
date: /Date$/i,
2727
},
2828
},
29+
options: {
30+
storySort: {
31+
order: ["Welcome", "*"],
32+
},
33+
},
2934
},
3035
decorators: [
3136
withThemeByClassName<ReactRenderer>({

README.md

+33-13
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,53 @@
1-
# ink-kit
1+
<img src="src/images/banner.png" alt="Inkkit Banner" style="width: 100%; border-radius: 8px; margin-bottom: 2rem;" />
22

3-
Ink Kit
3+
# Inkkit
4+
5+
Inkkit is an onchain-focused SDK that delivers a delightful developer experience with ready-to-use app layout templates, themes, and magical animated components.
6+
7+
## Features
8+
9+
- 🎨 Customizable app layout templates
10+
- ✨ Magical animated components
11+
- 🎭 Vibrant themes
12+
- ⛓️ Onchain-focused development
13+
- 🚀 Efficient developer experience
14+
- 📱 Polished, engaging interfaces
415

516
## Install
617

718
```bash
819
npm install @inkonchain/ink-kit
20+
# or
21+
pnpm install @inkonchain/ink-kit
922
```
1023

1124
## Usage
1225

13-
To use the components, you can import them directly:
14-
1526
```tsx
16-
import { Button } from "@inkonchain/ink-kit";
17-
```
27+
// Import styles first at the root of your project (required)
28+
import "@inkonchain/ink-kit/style.css";
1829

19-
To import the CSS, you can use the `style.css` export:
30+
// Import components as needed
31+
import { Button } from "@inkonchain/ink-kit";
2032

21-
```tsx
22-
import "@inkonchain/ink-kit/style.css";
33+
function App() {
34+
return (
35+
<div>
36+
<Button onClick={() => {}} size="md" variant="secondary">
37+
Ship It
38+
</Button>
39+
</div>
40+
);
41+
}
2342
```
2443

25-
Note: Ink-Kit styles should be imported first so that your own custom classes are taking precedence.
44+
Note: Inkkit classes are prefixed with `ink-` and can be customized using CSS variables instead of Tailwind classes. They should be imported first so that your own custom classes are taking precedence.
2645

27-
Ink Kit classes are prefixed with `ink-`.
46+
## Resources
2847

29-
You can also use the CSS variables directly in your project instead of the tailwind classes.
48+
- **Documentation**: Browse components and examples on our [Storybook page](https://inkkit.inkonchain.com/)
49+
- **Contributing**: Open a PR right here on our [GitHub repository](https://github.com/inkonchain/ink-kit)
3050

3151
## WIP Notice
3252

33-
This is a work in progress, we are working on it!
53+
This is a work in progress: we are constantly adding new components, improving the developer experience, and fixing bugs.

src/images/banner.webp

329 KB
Binary file not shown.

src/stories/Welcome.mdx

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import { Meta } from "@storybook/blocks";
2+
import Banner from "../images/banner.webp?base64";
3+
4+
<Meta title="Welcome" />
5+
6+
<img
7+
src={Banner}
8+
alt="Inkkit Banner"
9+
style={{ width: "100%", marginBottom: "2rem", borderRadius: "8px" }}
10+
/>
11+
12+
# Welcome to Inkkit
13+
14+
Inkkit is an onchain-focused SDK that delivers a delightful developer experience with ready-to-use app layout templates, themes, and magical animated components.
15+
16+
## Install
17+
18+
```bash
19+
npm install @inkonchain/ink-kit
20+
# or
21+
pnpm install @inkonchain/ink-kit
22+
```
23+
24+
## Usage
25+
26+
```tsx
27+
// Import styles first at the root of your project (required)
28+
import "@inkonchain/ink-kit/style.css";
29+
30+
// Import components as needed
31+
import { Button } from "@inkonchain/ink-kit";
32+
33+
function App() {
34+
return (
35+
<div>
36+
<Button onClick={() => {}} size="md" variant="secondary">
37+
Ship It
38+
</Button>
39+
</div>
40+
);
41+
}
42+
```
43+
44+
Note: Inkkit classes are prefixed with `ink-` and can be customized using CSS variables instead of Tailwind classes. They should be imported first so that your own custom classes are taking precedence.
45+
46+
## Key Features
47+
48+
- 🎨 **Customizable app layout templates**
49+
-**Magical animated components**
50+
- 🎭 **Vibrant themes**
51+
- ⛓️ **Onchain-focused development**
52+
- 🚀 **Efficient developer experience**
53+
- 📱 **Polished, engaging interfaces**
54+
55+
## Theming
56+
57+
Complete theming guide coming soon.
58+
59+
## Resources
60+
61+
- **Documentation**: Browse components and examples in the sidebar
62+
- **Contributing**: Visit our [GitHub repository](https://github.com/inkonchain/ink-kit)
63+
64+
## WIP Notice
65+
66+
This is a work in progress: we are constantly adding new components, improving the developer experience, and fixing bugs.

0 commit comments

Comments
 (0)