Component Logic
Every component in this file is designed to replicate how real Shadcn and Tailwind components function in code. Instead of static frames, each element uses variables, modes, and nested properties to adapt automatically.- Variables define color, spacing, and typography globally.
- Component properties manage variants (e.g. size, state, intent).
- Nested component properties let you modify inner elements like icons, text, or layout directly from the parent layer.
- Auto Layout ensures each component resizes responsively, adapting to multiple screen widths and content lengths.
Component Types
The component library is divided into three main categories:1. UI Components
Functional, reusable elements that form the core of any interface. Includes buttons, inputs, dropdowns, alerts, tooltips, modals, and more — all designed with Tailwind’s logical naming and responsive constraints.2. Product Components
Complex assemblies that combine multiple UI elements, such as tables, forms, navigation bars, and side panels. Each one is built with nested component logic, meaning you can swap or edit internal parts (icons, labels, etc.) from a single property panel.3. Marketing Blocks
Prebuilt website sections that combine layout, typography, and UI elements to accelerate marketing page design. Includes hero sections, feature grids, pricing tables, testimonials, and CTAs — each responsive and theme-aware.Example: Editing a Component
Let’s modify a Button to match your brand palette.- Select the Button component in Figma.
- Use the Properties panel to toggle between variants:
size:sm,md,lgvariant:default,secondary,ghost,outline,link
- Update colors globally through the Theme variables — the button’s background and text will update automatically.
- Use Nested Component Properties to change the icon or label text without opening multiple layers.
Responsive Design
All components are constructed using Auto Layout with Tailwind logic, ensuring that resizing or stacking behavior works naturally:| Type | Layout | Behavior |
|---|---|---|
| Buttons & Inputs | Horizontal | Adjust width based on label content |
| Cards & Blocks | Vertical | Expand to fit text and image content |
| Navigation | Mixed | Wraps and reflows across breakpoints |
Best Practices
- 🧱 Never detach components — use properties and nested structures to modify content or states.
- 🎨 Edit through variables rather than local overrides for guaranteed consistency.
- 🧠 Use component properties for states (hover, active, disabled) rather than duplicating frames.
- ⚙️ Keep names aligned with code — component names follow Shadcn’s naming convention for easier developer handoff.
- 🧩 Test in both modes — all components are light/dark ready and theme-aware.
Tip: The true power of the Orbital Shadcn UI Kit lies in its logic, not just its visuals. Every component was designed to feel like writing Tailwind code — but visually. The more you use variables and properties, the closer your design will behave to production.