Skip to content

Commit c929e35

Browse files
committed
added package bundler
1 parent 5d99f13 commit c929e35

5 files changed

Lines changed: 156 additions & 0 deletions

File tree

app/docs/components/installation.jsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,33 @@ export default function DocsContent() {
178178
</div>
179179
</div>
180180
</div>
181+
182+
{/* Step 5 */}
183+
<div className="pl-4 py-2">
184+
<h2 className="text-lg font-medium text-black">Install necesaary packages</h2>
185+
<p className="text-sm text-neutral-600 mt-2 mb-4">
186+
Installation of packages which includes external icons packages along with gsap and framer motion for animation.
187+
</p>
188+
<p>Install Each pacakage separtely or</p>
189+
<div className="bg-white rounded-xl shadow-lg">
190+
<div className="flex justify-between py-2 px-2">
191+
<IoMdCloseCircle className="text-lg text-black opacity-50" />
192+
<IoMdCloseCircle className="text-lg text-black opacity-50" />
193+
</div>
194+
<div className="px-8">
195+
<div className="flex justify-between items-center">
196+
<p className="font-mono text-sm text-black/75">Terminal ~</p>
197+
<Copy text="@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');" />
198+
</div>
199+
<pre className="bg-neutral-900 text-white text-xs p-3 rounded-md mt-2 overflow-x-auto">
200+
{`@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');`}
201+
</pre>
202+
</div><div className="flex justify-between py-2 px-2">
203+
<IoMdCloseCircle className="text-lg text-black opacity-50" />
204+
<IoMdCloseCircle className="text-lg text-black opacity-50" />
205+
</div>
206+
</div>
207+
</div>
181208
</div>
182209
</div>
183210
);

streamui-deps/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Node
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
pnpm-debug.log*
7+
8+
# VS Code
9+
.vscode/
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db

streamui-deps/package-lock.json

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

streamui-deps/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "streamui-deps",
3+
"version": "1.0.0",
4+
"description": "Dependency installer for StreamUI copy-paste component library (gsap, framer-motion, react-icons).",
5+
"keywords": ["streamui", "dependencies", "react", "gsap", "framer-motion", "react-icons", "tailwind"],
6+
"author": "Sohan Rout",
7+
"license": "MIT",
8+
"dependencies": {
9+
"framer-motion": "^12.23.0",
10+
"gsap": "^3.13.0",
11+
"react-icons": "^5.5.0"
12+
},
13+
"peerDependencies": {
14+
"react": "^18.0.0",
15+
"react-dom": "^18.0.0"
16+
}
17+
}

streamui-deps/readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# StreamUI Deps
2+
3+
This package installs all required dependencies for using StreamUI's copy-paste React components.
4+
5+
## Install
6+
7+
```bash
8+
npm install streamui-deps

0 commit comments

Comments
 (0)