Getting Started
Step 1: Add shadcn
Follow the official shadcn installation guide
First, follow the installation instructions from the official shadcn documentation:
View Installation GuideOnce you've initialized shadcn in your project, return here to continue with the Pocket Network UI setup.
Step 2: Add Theme
Add Pocket Network's theme and components
npx shadcn-ui@latest add /r/theme.jsonAvailable Components
Button
Customizable button component
npx shadcn-ui@latest add /r/button.jsonCard
Flexible card component
npx shadcn-ui@latest add /r/card.jsonCode
Code block with tabs and copy-to-clipboard
npx shadcn-ui@latest add /r/code.jsonLogo
Pocket Network logo component
npx shadcn-ui@latest add /r/logo.jsonPoktIcon
Pocket Network icon component
npx shadcn-ui@latest add /r/pokt-icon.jsonTabs
Tabbed navigation component
npx shadcn-ui@latest add /r/tabs.jsonComponent Preview
Button
Card
Simple Card
Card description
Card content goes here.
Card with Action
With a button
Code
With tabs
Code 1 hereWithout tabs
Your code hereTabs
Content for Tab 1
Logo
Icon
Default:
Black:
White:
Full (Default)
Default:
Black:
White: