Updated
Orbit FAQ
ProCustomize
Ring radius112px
Icon size44px
Curve1.0
Default category0
Installation
ProOrbit FAQ is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/orbit-faq
Loading your installation…
Usage
import { OrbitFaq } from "@/components/uibrik/orbit-faq/orbit-faq";const categories = [ { label: "General", icon: <IconSparklesFilled />, items: [ { question: "What is this, exactly?", answer: "A library of interface components you copy into your project and make your own." }, { question: "Who is it for?", answer: "Designers who code and engineers who care about the details." }, { question: "Is there a free plan?", answer: "Yes. Every component and its source is free. Pro adds templates and support." }, ], }, { label: "Billing", icon: <IconCreditCardFilled />, items: [ { question: "Which cards do you accept?", answer: "All major cards, Apple Pay and Google Pay. Invoices are available for teams." }, { question: "Can I switch plans later?", answer: "Any time. Upgrades apply at once and downgrades at the end of your billing period." }, { question: "How do refunds work?", answer: "Write to us within 14 days and we refund you in full. No forms, no questions." }, { question: "Do you offer student pricing?", answer: "Yes, half price with a valid student email." }, ], }, // …4 more];<OrbitFaq categories={categories} ringRadius={112} iconSize={44} curve={1} connector progress watermark defaultCategory={0}/>Where to use Orbit FAQ
Categorised FAQs
Categories orbiting a hub let visitors pick a topic before seeing questions.
Pairs with Accordion
Distinctive help centres
The ring turning to face the questions makes browsing help feel guided.
Grouped product questions
Questions fanning out on an arc beside the hub keep each category short.
Props
OrbitFaq- ringRadius
- Type number
- 112
- Radius of the ring the categories sit on.
- iconSize
- Type number
- 44
- Diameter of a category button.
- curve
- Type number
- 1
- How strongly the questions curve around the orbit; 0 is a straight list.
- connector
- Type boolean
- true
- Draw a line from the category to the open question. Side by side only.
- progress
- Type boolean
- true
- A ring round each category that fills as its questions are opened.
- watermark
- Type boolean
- true
- The category's icon, large and faint, behind the hub's label.
- defaultCategory
- Type number
- 0
- Category picked on mount.
- categoriesrequired
- Type { label: string; icon: ReactNode; items: { question: string; answer: string }[] }[]
- –
- Categories clockwise from the top, each with an icon and its questions.
- className
- Type string
- –
- Classes for the wrapper.