Skip to Content
AuroraDesign System
Code Workspace
Foundations
Color TokensTypographySpacing & RadiiBrand & MarkDirection
Controls
ButtonsButton GroupBadgesToggle SwitchToggleToggle GroupAvatarProgressSpinnerSeparatorToolbarKbd
Form Elements
Inputs & SelectsInputFieldLabelInput GroupInput OTPNative SelectSelectComboboxCheckbox & RadioRadio GroupSliderNumber InputTextareaCalendarDate PickerTabs & Pills
Feedback
AlertBannersCalloutToastsSonnerTooltipEmpty StatesSkeletonStatus IndicatorShimmerConfirmation
Navigation
BreadcrumbPaginationCommandNavigation MenuMenubar
Data
Stat CardsTablesData TableFilter BarsTimelineDescription ListSearch ResultsListboxMarketplace
Overlays
Modal & DialogAlert DialogAccordionCollapsibleDropdownsContext MenuPopoverHover CardSheetDrawerShare Dialog
Chat & AI
Prompt InputAI ElementsMessageConversationModel SelectorPersonaOpen in ChatReasoningTool CallsToolThinkingChain of ThoughtPlanTaskQueueSuggestionCode BlockArtifactTerminalPermission PromptAsk User QuestionPermissions ConfigCommand PaletteSidebar
Runtime & Execution
AgentCheckpointCommitContext PanelEnvironment VariablesPackage InfoSchema DisplaySandboxSnippetJSX PreviewStack TraceTest ResultsPanelControl StripCanvasConnectionEdgeNode
Media & Voice
Audio PlayerMic SelectorSpeech InputTranscriptionVoice Selector
Content
Attachment ChipAI AttachmentsSourcesInline CitationFile PickerFile TreeCode EditorCode WorkspaceWeb PreviewAspect RatioCardCarouselChartImageItemResizable PanelsScroll Area
Auth & Errors
LoginOAuth FlowError Pages
Themes
Light Mode
AI Elements (new)
ActionActionsAiImageGridBranchLoaderMessageAvatarMessageContentResponseSource
Aurora Extensions
ChatMessageChatSidebarColorPickerComponentCardCopyButtonMultiSelectOperationIconProgressRingRangeSliderRatingSegmentedSpotlightStatusDotStepperTagInput

Components

Code Workspace

Explorer4
src
main.rs
config.rs
routes.rs
Cargo.toml
main.rsrust
1use axum::{routing::get, Router};
2use tokio::net::TcpListener;
3use std::sync::Arc;
4
5mod config;
6mod routes;
7
8use config::AppConfig;
9
10#[tokio::main]
11async fn main() -> anyhow::Result<()> {
12 let config = Arc::new(AppConfig::from_env()?);
13
14 let app = Router::new()
15 .route("/health", get(routes::health))
16 .route("/api/v1/query", get(routes::query))
17 .with_state(config);
18
19 let addr = "0.0.0.0:8080";
20 let listener = TcpListener::bind(addr).await?;
21 println!("Listening on {addr}");
22 axum::serve(listener, app).await?;
23 Ok(())
24}
Ln 1, Col 1UTF-8rust
24 lines

IDE-style split-pane workspace combining a FileTree explorer rail (with Explorer header and right border) and a flush-embedded CodeEditor. Selecting a file node in the tree swaps the active file shown in the editor. Ships as one bordered container with no double border between rail and editor.

Install

npx shadcn@latest add https://aurora.tootie.tv/r/aurora-code-workspace.json
Requires@aurora/aurora-tokens@aurora/aurora-badge@aurora/aurora-file-tree@aurora/aurora-empty-state@aurora/aurora-code-editor