|
1 |
| -# ink-kit |
| 1 | +<img src="src/images/banner.png" alt="Inkkit Banner" style="width: 100%; border-radius: 8px; margin-bottom: 2rem;" /> |
2 | 2 |
|
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 |
4 | 15 |
|
5 | 16 | ## Install
|
6 | 17 |
|
7 | 18 | ```bash
|
8 | 19 | npm install @inkonchain/ink-kit
|
| 20 | +# or |
| 21 | +pnpm install @inkonchain/ink-kit |
9 | 22 | ```
|
10 | 23 |
|
11 | 24 | ## Usage
|
12 | 25 |
|
13 |
| -To use the components, you can import them directly: |
14 |
| - |
15 | 26 | ```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"; |
18 | 29 |
|
19 |
| -To import the CSS, you can use the `style.css` export: |
| 30 | +// Import components as needed |
| 31 | +import { Button } from "@inkonchain/ink-kit"; |
20 | 32 |
|
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 | +} |
23 | 42 | ```
|
24 | 43 |
|
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. |
26 | 45 |
|
27 |
| -Ink Kit classes are prefixed with `ink-`. |
| 46 | +## Resources |
28 | 47 |
|
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) |
30 | 50 |
|
31 | 51 | ## WIP Notice
|
32 | 52 |
|
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. |
0 commit comments