spiderwebai-components
Version:
frontend components like ui, hooks, and more used in spider
29 lines (21 loc) • 572 B
Markdown
# spiderwebai-components
React components built using shadcn and other libs for the spiderwebai app.
## Install
`npm install spider_components`
## Usage
```ts
import { toast } from 'spiderwebai-components/react/components/ui/use-toast';
toast({
title: "Title",
description: "You gotta crawl before you walk!"
})
```
Add the modules to your tailwind config.
```js
{
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'node_modules/spiderwebai-components/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'
],
}
```