0.0.1-canary.22 • Published 6 months ago
@whop/frosted-ui v0.0.1-canary.22
Welcome to Frosted UI
Frosted is the design system used and and built by Whop.
Getting Started
Prerequisites
- React installed
- Tailwind CSS installed and configured
- Font Awesome access configured (Only free license required)
Installation
Install package:
npm i @whop/frosted-ui
Configure your tailwind.config.ts
to use the Frosted UI theme by wrapping your config with preset
:
import preset from '@whop/frosted-ui/dist/preset';
const config = preset({
// your config here
});
export default config;
Wrap your app in the TooltipProvider
component and add the Toaster
as well:
Note: this example is in Next.js but you can wrap the root of any React project.
import { TooltipProvider, Toaster } from '@whop/frosted-ui';
import type { AppProps } from 'next/app';
export default function App({ Component, pageProps }: AppProps) {
return (
<TooltipProvider>
<Component {...pageProps} />
<Toaster />
</TooltipProvider>
);
}
That's it! You're ready to use Frosted UI. Checkout the documentation for more information about the components.
0.0.1-canary.22
6 months ago
0.0.1-canary.21
7 months ago
0.0.1-canary.20
7 months ago
0.0.1-canary.19
7 months ago
0.0.1-canary.18
7 months ago
0.0.1-canary.17
8 months ago
0.0.1-canary.16
8 months ago
0.0.1-canary.15
8 months ago
0.0.1-canary.14
8 months ago
0.0.1-canary.13
8 months ago
0.0.1-canary.12
9 months ago
0.0.1-canary.11
9 months ago
0.0.1-canary.10
9 months ago
0.0.1-canary.9
9 months ago
0.0.1-canary.8
9 months ago
0.0.1-canary.7
9 months ago
0.0.1-canary.6
10 months ago
0.0.1-canary.5
10 months ago
0.0.1-canary.4
10 months ago
0.0.1-canary.3
10 months ago
0.0.1-canary.2
10 months ago
0.0.1-canary.1
10 months ago
0.0.1-canary.0
10 months ago