0.0.5-alpha-0.12 • Published 1 year ago
ssp-ui v0.0.5-alpha-0.12
This is a collection of components built with shadcn to help streamline the process of writing applications with Tailwindcss.
Installation
After running npm i ssp-ui
you can choose to use the bundled, static css for the components by importing the css file:
import 'ssp-ui/dist/styles.css'
Or you can include the library into your tailwind configuration by adding this line in your tailwind.config
file:
content: [
// your content...
"./node_modules/ssp-ui/**/*.{js,mjs}",
],
To enable dark mode, install next-themes
and wrap your app in a ThemeProvider
with the attribute
prop set to data-mode
:
<ThemeProvider defaultTheme="dark" attribute="data-mode">
{children}
</ThemeProvider>
Next, set the darkMode
prop on your tailwind config:
darkMode: ['class', '[data-mode="dark"]'],
TODOS:
- Replace esbuild with rollup
- Review tree-shaking
- Fix correct usage of
'use client'
only in necessary components
0.0.5-alpha-0.12
1 year ago
0.0.5-alpha-0.11
1 year ago
0.0.5-alpha-0.10
1 year ago
0.0.5-alpha-0.9
1 year ago
0.0.5-alpha-0.8
1 year ago
0.0.5-alpha-0.7
1 year ago
0.0.5-alpha-0.6
1 year ago
0.0.5-alpha-0.5
1 year ago
0.0.5-alpha-0.4
1 year ago
0.0.5-alpha-0.3
1 year ago
0.0.5-alpha-0.2
1 year ago
0.0.5-alpha-0.1
1 year ago
0.0.5-alpha
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago