# Citry > Build checked, isolated web components in Python with server-rendered HTML and optional browser behavior. ## Docs - [Overview](https://citry.dev/docs/index.md): Learn to build fully typed web interfaces in Python with reusable components, server events, and Vue browser behavior. ## Docs: Getting started - [Install Citry](https://citry.dev/getting-started/installation/index.md): Install Citry in a Python environment, then render a small component to confirm everything works. - [Your first component](https://citry.dev/getting-started/your-first-component/index.md): Build a reusable card, choose its border color, add some content, and render it with Python. - [Use data in components](https://citry.dev/getting-started/data-in-components/index.md): Give a Citry component typed Python options, show them in its HTML, and turn a list into repeated content. - [Build a page from components](https://citry.dev/getting-started/build-page/index.md): Import your Citry components, use them as tags inside a page, pass Python values to them, and check the rendered result. - [Add slots](https://citry.dev/getting-started/add-slots/index.md): Give a Citry component a main content area, a named area, and fallback content that appears when nothing is supplied. - [Add browser behavior](https://citry.dev/getting-started/browser-interactivity/index.md): Use Vue attributes in a Citry component and give it starting browser data from Python with js_data. - [Connect components in the browser](https://citry.dev/getting-started/client-props-and-handlers/index.md): Pass a browser value into a child Citry component and handle an event the child sends. - [Serve pages with FastAPI](https://citry.dev/getting-started/fastapi/index.md): Put a Citry component behind a FastAPI route and connect the browser to Citry's own routes. - [Call Python from a click](https://citry.dev/getting-started/call-python/index.md): Send a click to a Python event handler and show its answer without reloading the page. - [Keep values between calls](https://citry.dev/getting-started/state/index.md): Carry signed State between Python calls and read it from Vue. - [Handle and validate forms](https://citry.dev/getting-started/forms/index.md): Turn named form controls into typed Python data and show field errors with Vue. - [Update page from Python](https://citry.dev/getting-started/server-rendered-updates/index.md): Replace a component with freshly rendered HTML, browser data, and CSS from a Python event handler. - [Build CRUD pages](https://citry.dev/getting-started/build-crud-pages/index.md): Give each row of a list its own event handlers, errors, and status, and re-render the whole list from Python. - [AI coding agents](https://citry.dev/getting-started/ai-agents/index.md): Point your coding agent at Citry's documentation and give it the setup and verification commands for your project. ## Docs: Template syntax - [Template basics](https://citry.dev/syntax/index.md): Learn which parts of a Citry template are HTML, which parts run as Python, and where to find each piece of special syntax. - [Expressions](https://citry.dev/syntax/expressions/index.md): Insert Python values in a Citry template, prepare names for the template, and understand escaping and sandbox limits. - [Attributes](https://citry.dev/syntax/attributes/index.md): Compute HTML attributes and component inputs with Python, including boolean values, class and style merging, and c-bind. - [Conditions and loops](https://citry.dev/syntax/control-flow/index.md): Show, skip, and repeat template content with Citry's if, elif, else, for, and empty forms. - [Vue](https://citry.dev/syntax/vue/index.md): Add immediate browser behavior to Citry component templates with Vue directives and expressions. - [Markup in attributes](https://citry.dev/syntax/nested-templates/index.md): Pass a small rendered block through a c-* attribute and make the boundary between markup and Python explicit. - [Comments](https://citry.dev/syntax/comments/index.md): Leave a note in a template, and choose whether the browser receives it. - [Literal text](https://citry.dev/syntax/raw/index.md): Wrap text in c-raw when text that looks like template syntax must reach the page exactly as written. ## Docs: Concepts - [Components](https://citry.dev/concepts/components/index.md): Turn part of a page into a reusable Python class with its own inputs, content, and markup. - [Inputs and validation](https://citry.dev/concepts/inputs-and-validation/index.md): Declare component inputs and choose when Citry should validate their names, defaults, values, and returned data. - [Slots](https://citry.dev/concepts/slots/index.md): Add replaceable regions to a component, with defaults, named fills, and data supplied by the component. - [Rendering](https://citry.dev/concepts/rendering/index.md): Turn a component and everything inside it into HTML, add values for the whole page, and choose where JavaScript and CSS go. - [Registration](https://citry.dev/concepts/registration/index.md): Connect component tag names to Python classes and choose which Citry instance owns them. - [Provide and inject](https://citry.dev/concepts/provide-and-inject/index.md): Make shared data available to a rendered subtree without passing it through every component in between. - [Error boundaries](https://citry.dev/concepts/error-boundaries/index.md): Keep one server-rendered failure from replacing an otherwise useful page. ## Docs: Vue - [Vue in Citry](https://citry.dev/vue/index.md): Make Citry components interactive in the browser with Vue, and see which values Python and Vue each control. - [Component options](https://citry.dev/vue/component-options/index.md): Give a Citry component browser state, methods, server data, and code that runs after each server render with $component(). - [Props and events](https://citry.dev/vue/props-and-events/index.md): Pass browser values from a parent component to a child with Vue props, and let the child tell its parent what happened with Vue events. - [Content and slots](https://citry.dev/vue/slots/index.md): See which component's Vue data the content you pass into another component reads, and how to keep that content working in the browser. - [Server-rendered HTML](https://citry.dev/vue/server-rendering/index.md): See what an interactive page shows before Vue starts, keep what the user typed across renders, and keep your deployment from breaking the HTML Vue starts on. - [Plugins and the Vue app](https://citry.dev/vue/plugins/index.md): Add a global directive, a shared component, or an error reporter to every Vue component on the page with a Vue plugin. - [Security and CSP](https://citry.dev/vue/csp/index.md): Run interactive Citry pages under a Content Security Policy, send output with no JavaScript, and see why Citry refuses Vue code from c-bind. - [Limits and errors](https://citry.dev/vue/limits/index.md): See which Vue features Citry does not support, and fix the common errors a template or a page shows when Vue code goes wrong. ## Docs: Events - [Server events](https://citry.dev/events/index.md): Call a Python event handler from a Citry component and update the page without reloading it. - [Event state](https://citry.dev/events/state/index.md): Keep the values your Citry event handlers need between calls, and pass every input when a handler renders the component again. - [Handle and validate forms](https://citry.dev/events/forms/index.md): Turn named form controls into typed Python data and show server validation without losing what the user entered. - [Bind events in templates](https://citry.dev/events/bindings/index.md): Call Citry event handlers from HTML, bind controls to State, and show loading or error feedback with Vue. - [Event actions](https://citry.dev/events/actions/index.md): Decide what the page does after a Citry event handler runs, from re-rendering the component to notifying browser code, redirecting, or downloading a file. - [Event routes](https://citry.dev/events/routes/index.md): Call Citry event handlers by URL from plain HTML forms, htmx, and GET requests. ## Docs: I18n - [I18n overview](https://citry.dev/i18n/index.md): Translate component text, format locale-sensitive values, and pass locale context explicitly through a Citry render tree. - [Locales and context](https://citry.dev/i18n/locale-context/index.md): Configure supported locales and pass one explicit locale context through a render tree or subtree. - [Write messages](https://citry.dev/i18n/messages/index.md): Define Fluent messages beside components and call them through typed Citry translation APIs. - [Organize catalogs](https://citry.dev/i18n/catalogs/index.md): Store shared and translated Fluent resources in importable packages with explicit ownership and fallback. - [Rich messages](https://citry.dev/i18n/rich-messages/index.md): Let translators position application-owned links and inline components without accepting translated HTML. - [Format values](https://citry.dev/i18n/formatting/index.md): Define named locale-sensitive formats once and use them from Python, Citry templates, and browser code. - [Parse localized input](https://citry.dev/i18n/parsing/index.md): Convert strict locale-sensitive form edits into canonical numbers, dates, times, and instants without guessing free-form prose. - [Browser i18n](https://citry.dev/i18n/browser/index.md): Use explicit client providers for small live translations while keeping ordinary server-rendered text simple. - [Language direction and accessibility](https://citry.dev/i18n/direction-and-bidi/index.md): Mark language and direction correctly and keep mixed-direction text safe for display and assistive technology. - [Translation workflow and tooling](https://citry.dev/i18n/workflow/index.md): Check message contracts, inspect project catalogs, hand source to translators, and compile package artifacts. - [Production and deployment](https://citry.dev/i18n/production/index.md): Compile standalone catalogs, validate installed artifacts, deliver browser partitions, and cache localized output safely. ## Docs: Advanced - [Dynamic components](https://citry.dev/advanced/dynamic-components/index.md): Choose a component or an HTML tag at render time with c-component and c-element. - [HTML attributes](https://citry.dev/advanced/html-attributes/index.md): Accept an explicit attribute mapping, choose where a component applies it, and merge class and style values safely. - [Subclass components](https://citry.dev/advanced/subclassing/index.md): Reuse a component contract while changing its template, browser code, styles, dependencies, or Python behavior. - [Discovery and startup](https://citry.dev/advanced/component-discovery/index.md): Find component modules and prepare Citry before serving requests. - [Web frameworks](https://citry.dev/advanced/web-frameworks/index.md): Mount Citry on FastAPI, Starlette, Flask, Django, or bare ASGI/WSGI so it can serve component assets, fragments, and server events. - [Component JS and CSS](https://citry.dev/advanced/js-and-css-dependencies/index.md): Give a Citry component its own JavaScript and CSS, send it data from Python, and see how both behave on the page. - [Dependency files](https://citry.dev/advanced/dependency-files/index.md): Add libraries and shared JavaScript or CSS files to a Citry component. - [Asset placement](https://citry.dev/advanced/asset-placement/index.md): Choose where Citry inserts collected assets and which dependency strategy a render uses. - [HTML fragments](https://citry.dev/advanced/html-fragments/index.md): Render a component for insertion into an existing page, including its client behavior and dependencies. - [Extensions](https://citry.dev/advanced/extensions/index.md): Add cross-cutting behavior, settings, routes, and metadata to Citry. - [Component previews](https://citry.dev/advanced/previews/index.md): Keep named examples beside components, browse their gallery, and capture PNGs from the CLI. - [Component hooks](https://citry.dev/advanced/hooks/index.md): Replace a component render or adjust the JavaScript and CSS tags it contributes. - [Component libraries](https://citry.dev/advanced/component-libraries/index.md): Package components that applications can install into their own Citry instance. - [Render custom values](https://citry.dev/advanced/render-custom-values/index.md): Let your own Python objects turn themselves into Citry components when a template renders them. - [Secrets](https://citry.dev/advanced/secrets/index.md): Wrap API tokens and passwords in Secret so Citry refuses to send them to the browser, and citry check warns before the page runs. - [Testing components](https://citry.dev/advanced/testing/index.md): Test rendered HTML, input contracts, server behavior, and browser interactions. - [Command line](https://citry.dev/advanced/cli/index.md): Scaffold components, check templates, inspect an engine, watch files, and run extension commands. ## Docs: Performance - [Performance overview](https://citry.dev/performance/index.md): Find out why a page renders slowly and pick the option that skips the work it repeats. - [Simple components](https://citry.dev/performance/simple-components/index.md): Render small display components faster by skipping the setup Citry does for each ordinary component. - [Constant values](https://citry.dev/performance/const/index.md): Mark component inputs that never change, so Citry prepares the template parts that use them once and reuses them across renders. - [Pure components](https://citry.dev/performance/pure/index.md): Render a component's template once per page when it repeats with the same data, and reuse that HTML for the other copies. - [Cache rendered output](https://citry.dev/performance/caching/index.md): Store a component's or template region's rendered HTML and reuse it on later requests, keyed by the values that change it. - [Cache backends](https://citry.dev/performance/cache-backends/index.md): Choose where Citry stores cached output and generated files, and share that store between workers and deployments. ## Docs: Guides - [Upgrade to 1.0.0](https://citry.dev/guides/upgrading-to-1-0-0/index.md): Move a Citry project to 1.0.0, prepare for deprecation warnings, and handle State tokens that now expire after 24 hours. - [Upgrade to 0.6.0](https://citry.dev/guides/upgrading-to-0-6-0/index.md): Move a Citry 0.5.x project from the Alpine browser runtime to the Vue runtime in Citry 0.6.0, step by step. - [Use Citry with HTMX](https://citry.dev/guides/htmx/index.md): Keep HTMX for requests and page updates while Citry renders the HTML, CSS, and JavaScript. - [Troubleshooting](https://citry.dev/guides/troubleshooting/index.md): Fix common Citry problems: render errors, components that do nothing in the browser, editor checks that stop, and tools to trace a render. - [Hot reload](https://citry.dev/guides/hot-reload/index.md): Pick up edits to a component's template, JS, or CSS file on the next render without restarting, using citry watch and the reload helpers. - [Development mode](https://citry.dev/guides/development-mode/index.md): Turn on development mode while you work on your app, so Citry warns about mistakes on the running page and reads translations straight from your .ftl files. - [Migrate from django-components](https://citry.dev/guides/migrate-from-django-components/index.md): Move a django-components project to Citry with a complete, agent-friendly checklist of template, Python, asset, extension, and testing changes. - [Migrate from Component.View](https://citry.dev/guides/migrate-from-component-view/index.md): Port django-components Component.View handlers to typed Citry Events, then split HTTP verbs into named interactions. - [Migrate from django-unicorn](https://citry.dev/guides/migrate-from-django-unicorn/index.md): Move django-unicorn state, actions, validation, and browser calls to explicit Citry State and Events handlers. - [Migrate from Tetra](https://citry.dev/guides/migrate-from-tetra/index.md): Port Tetra public state, server methods, promise calls, and client callbacks to Citry State, Events, and actions. - [Migrate from livecomponents](https://citry.dev/guides/migrate-from-livecomponents/index.md): Port livecomponents in two safe steps, first keeping server-held State, then choosing signed State component by component. - [Events migration parity](https://citry.dev/guides/events-migration-parity/index.md): Compare Component.View, django-unicorn, Tetra, and livecomponents capabilities with Citry Events delivery status. ## Docs: About - [Versioning and support](https://citry.dev/about/versioning/index.md): Which Citry versions get fixes, how to pin Citry, what a 1.x upgrade can change in your project, and how deprecations work. - [Compatibility](https://citry.dev/about/compatibility/index.md): The Python versions, web frameworks, operating systems, CPU architectures, and browsers Citry runs on, and when installing it needs Rust. - [Benchmarks](https://citry.dev/about/benchmarks/index.md): How fast Citry and eleven other frameworks make a 1,400-entry page usable, and how early Citry and eleven others report the same 63 developer mistakes. - [Security](https://citry.dev/security/index.md): Protect Citry templates and server events with expression sandboxing, explicit State, CSRF checks, and authorization. ## Docs: Release notes - [Overview](https://citry.dev/releases/index.md): Release notes for every version of citry, newest first. - [v1.3.0](https://citry.dev/releases/v1.3.0/index.md): What changed in citry v1.3.0. - [v1.2.0](https://citry.dev/releases/v1.2.0/index.md): What changed in citry v1.2.0. - [v1.1.1](https://citry.dev/releases/v1.1.1/index.md): What changed in citry v1.1.1. - [v1.1.0](https://citry.dev/releases/v1.1.0/index.md): What changed in citry v1.1.0. - [v1.0.3](https://citry.dev/releases/v1.0.3/index.md): What changed in citry v1.0.3. - [v1.0.2](https://citry.dev/releases/v1.0.2/index.md): What changed in citry v1.0.2. - [v1.0.1](https://citry.dev/releases/v1.0.1/index.md): What changed in citry v1.0.1. - [v1.0.0](https://citry.dev/releases/v1.0.0/index.md): What changed in citry v1.0.0. - [v0.9.0](https://citry.dev/releases/v0.9.0/index.md): What changed in citry v0.9.0. - [v0.8.0](https://citry.dev/releases/v0.8.0/index.md): What changed in citry v0.8.0. - [v0.7.0](https://citry.dev/releases/v0.7.0/index.md): What changed in citry v0.7.0. - [v0.6.0](https://citry.dev/releases/v0.6.0/index.md): What changed in citry v0.6.0. - [v0.5.1 (2026-09-11)](https://citry.dev/releases/v0.5.1/index.md): What changed in citry v0.5.1 (2026-09-11). - [v0.5.0 (2026-09-09)](https://citry.dev/releases/v0.5.0/index.md): What changed in citry v0.5.0 (2026-09-09). - [v0.4.6 (2026-08-30)](https://citry.dev/releases/v0.4.6/index.md): What changed in citry v0.4.6 (2026-08-30). - [v0.4.5 (2026-08-30)](https://citry.dev/releases/v0.4.5/index.md): What changed in citry v0.4.5 (2026-08-30). - [v0.4.4 (2026-08-26)](https://citry.dev/releases/v0.4.4/index.md): What changed in citry v0.4.4 (2026-08-26). - [v0.4.3 (2026-08-22)](https://citry.dev/releases/v0.4.3/index.md): What changed in citry v0.4.3 (2026-08-22). - [v0.4.2 (2026-08-21)](https://citry.dev/releases/v0.4.2/index.md): What changed in citry v0.4.2 (2026-08-21). - [v0.4.1 (2026-08-20)](https://citry.dev/releases/v0.4.1/index.md): What changed in citry v0.4.1 (2026-08-20). - [v0.4.0](https://citry.dev/releases/v0.4.0/index.md): What changed in citry v0.4.0. - [v0.3.1 (2026-07-29)](https://citry.dev/releases/v0.3.1/index.md): What changed in citry v0.3.1 (2026-07-29). - [v0.3.0 (2026-07-28)](https://citry.dev/releases/v0.3.0/index.md): What changed in citry v0.3.0 (2026-07-28). - [v0.2.0](https://citry.dev/releases/v0.2.0/index.md): What changed in citry v0.2.0. - [v0.1.0 (2026-06-30)](https://citry.dev/releases/v0.1.0/index.md): What changed in citry v0.1.0 (2026-06-30). ## Reference - [Overview](https://citry.dev/reference/index.md): The citry public API, by area. - [Component](https://citry.dev/reference/component/index.md): The base class every component subclasses, and the warning Citry emits when a subclass's nested data class drops its parent's fields. - [Component introspection](https://citry.dev/reference/component-introspection/index.md): Frozen metadata records for component catalogs, schemas, assets, and extensions. - [Component graph](https://citry.dev/reference/component-graph/index.md): Authored component dependencies, reverse references, source locations, and partial-analysis problems. Experimental, so these classes may change in a... - [Component libraries](https://citry.dev/reference/component-libraries/index.md): Engine-neutral component definitions, explicit manifests, and per-Citry installations. - [Citry instance and config](https://citry.dev/reference/citry/index.md): The Citry instance that scopes components, settings, and caches, and the warning class for deprecated features. - [Rendering](https://citry.dev/reference/rendering/index.md): The render pipeline, its output structs, Citry's trusted-HTML marker, and the Secret marker that keeps a value out of the data sent to the browser.... - [Slots](https://citry.dev/reference/slots/index.md): The slot value and fill types. - [Nodes](https://citry.dev/reference/nodes/index.md): The runtime node classes the compiled template instantiates. - [Template analysis](https://citry.dev/reference/template-analysis/index.md): Discovery, analysis, source mapping, and formatting for Python-embedded templates. Everything here except LspPosition and LspRange is experimental, so... - [Preview](https://citry.dev/reference/preview/index.md): Component examples, layouts, and metadata for command-owned preview pages. Experimental, so these names and the citry ext run preview commands may... - [Extensions](https://citry.dev/reference/extensions/index.md): The plugin system: the extension base, its commands, and the hook context objects. Some hooks and types on this page are experimental and may change in... - [Dependencies](https://citry.dev/reference/dependencies/index.md): The JS/CSS dependency types collected and placed at serialize time, and the built-in citry.ext.dependencies extension that owns them. - [Render cache keys](https://citry.dev/reference/cache-keys/index.md): Exact key helpers and errors for component and named-fragment render caches. - [Internationalization](https://citry.dev/reference/internationalization/index.md): Locale contexts, messages, named formats, and strict localized-input parsers. - [Events](https://citry.dev/reference/events/index.md): Event handlers declared on components: the class Events: contract, the typed base for it, and the built-in citry.ext.events extension that owns it. - [Browser APIs](https://citry.dev/reference/browser-apis/index.md): Reference for $component, Citry.vue, server-render callbacks, page-wide settings, and component Events helpers. - [HTML attributes](https://citry.dev/reference/attributes/index.md): Helpers for Vue-like class/style merging on HTML elements, and the error raised when Python data sets an attribute name that Vue reads as code. - [Web integration](https://citry.dev/reference/web/index.md): The route table a web framework mounts, and the request/response types handlers use (see citry.contrib). - [Hot reload](https://citry.dev/reference/hot-reload/index.md): The citry.reload module, which watches component files and reloads them in place while you develop (see the hot reload guide). - [Contrib integrations](https://citry.dev/reference/contrib/index.md): Adapters mounting citry into web frameworks, and cache adapters for shared stores (the citry.contrib. modules). - [Built-in tags](https://citry.dev/reference/builtins/index.md): The c-* tags Citry provides in every component template. ## Examples - [Overview](https://citry.dev/examples/index.md): Runnable Citry components, each rendered live with its source. ## Examples: Components - [Card](https://citry.dev/examples/card/index.md): Build a reusable Card with an input, a slot, and component CSS. - [Slots](https://citry.dev/examples/slots/index.md): Give a component named content areas with useful fallbacks. - [Provide and inject](https://citry.dev/examples/provide-inject/index.md): Share a value with every component in a subtree. - [Error boundary](https://citry.dev/examples/error-fallback/index.md): Show fallback content when one part of a page cannot render. - [Recursion](https://citry.dev/examples/recursion/index.md): Render a tree by letting a component call itself. ## Examples: Template syntax - [Control flow](https://citry.dev/examples/control-flow/index.md): Render conditions, loops, and empty states in a Citry template. ## Examples: Browser and server - [Tabs](https://citry.dev/examples/tabs/index.md): Ship browser behavior with an accessible Tabs component. - [Form submission](https://citry.dev/examples/form-submission/index.md): Handle a form submission entirely in the browser. - [Fragments](https://citry.dev/examples/fragments/index.md): Load a server-rendered component and its assets on demand. ## Try it - [Playground](https://citry.dev/playground/index.md): Edit and run a Citry component directly in your browser. ## Citry UI - [Overview](https://citry.dev/ui-library/index.md): Build application interfaces with Citry's first-party styled component library. ## Citry UI: Get started - [Installation](https://citry.dev/ui-library/installation/index.md): Add the Citry UI package and register its components with a Citry instance. - [Theme components](https://citry.dev/ui-library/theming/index.md): Customize Citry UI with color schemes, CSS variables, and stable component parts. ## Citry UI: Actions - [Button](https://citry.dev/ui-library/components/button/index.md): Render styled native actions, links, and form submitters with Citry UI Button. - [Button Group](https://citry.dev/ui-library/components/button-group/index.md): Arrange related Citry UI actions as one named group. - [Split Button](https://citry.dev/ui-library/components/split-button/index.md): Keep one dominant action visible beside a Menu of related actions. - [Toggle](https://citry.dev/ui-library/components/toggle/index.md): Build standalone or grouped pressed Buttons with Citry UI. - [Toolbar](https://citry.dev/ui-library/components/toolbar/index.md): Group persistent controls under one name and one page Tab stop. ## Citry UI: Forms and inputs - [Calendar](https://citry.dev/ui-library/components/calendar/index.md): Select one canonical date in an inline locale-aware calendar grid. - [Cascader](https://citry.dev/ui-library/components/cascader/index.md): Select one path through a finite server-rendered hierarchy. - [Checkbox](https://citry.dev/ui-library/components/checkbox/index.md): Choose independent Boolean options with native forms, mixed state, and controlled browser checkedness. - [Color Picker](https://citry.dev/ui-library/components/color-picker/index.md): Select an opaque solid sRGB color with native form fallback. - [Combobox](https://citry.dev/ui-library/components/combobox/index.md): Search a local or remote collection and submit one stable option value. - [DateInput](https://citry.dev/ui-library/components/date-input/index.md): Collect one canonical calendar date with the browser's native date control. - [DatePicker](https://citry.dev/ui-library/components/date-picker/index.md): Choose one canonical date from a localized popup Calendar. - [DateRange](https://citry.dev/ui-library/components/date-range/index.md): Choose two ordered canonical dates as one localized range. - [Editable](https://citry.dev/ui-library/components/editable/index.md): Edit one short text value in place without giving up native form behavior. - [Field and Input](https://citry.dev/ui-library/components/field-input/index.md): Build labelled native text controls with Citry UI Field and Input. - [File input and drop](https://citry.dev/ui-library/components/file-input/index.md): Select files with a native picker or an accessible drop-backed picker. - [Form](https://citry.dev/ui-library/components/form/index.md): Compose native submission, validation, reset, and shared control state with Citry UI Form. - [Form Collection](https://citry.dev/ui-library/components/form-collection/index.md): Compose keyed repeatable field groups inside one real form with accessible add remove and reorder requests. - [Listbox](https://citry.dev/ui-library/components/listbox/index.md): Choose one or more values from a persistent collection. - [MultiSelect](https://citry.dev/ui-library/components/multi-select/index.md): Choose several fixed values from a compact, styled form control. - [Native Select](https://citry.dev/ui-library/components/native-select/index.md): Choose one value with native keyboard, touch, forms, validation, and an optional controlled browser value. - [NumberInput](https://citry.dev/ui-library/components/number-input/index.md): Edit and submit an exact decimal quantity with localized spinbutton behavior. - [PinInput](https://citry.dev/ui-library/components/pin-input/index.md): Capture fixed-length verification and recovery codes without losing native input behavior. - [Radio](https://citry.dev/ui-library/components/radio/index.md): Select one visible option with native Citry UI Radio Groups and Radios. - [Rating](https://citry.dev/ui-library/components/rating/index.md): Select or display an exact localized score with native radio Form behavior. - [Select](https://citry.dev/ui-library/components/select/index.md): Choose one value from a compact, styled form control. - [Sliders](https://citry.dev/ui-library/components/slider/index.md): Use CSlider to choose one value from a bounded exact-decimal scale. Use CRangeSlider when the user chooses an ordered lower and upper value. - [Switch](https://citry.dev/ui-library/components/switch/index.md): Change an immediate on or off setting with a native Citry UI Switch. - [TagsInput](https://citry.dev/ui-library/components/tags-input/index.md): Create and submit an ordered list of free-form text tags. - [Textarea](https://citry.dev/ui-library/components/textarea/index.md): Enter multiline plain text with native editing, forms, validation, and optional browser control. - [TimeInput](https://citry.dev/ui-library/components/time-input/index.md): Collect one canonical wall-clock time with the browser's native time control. - [TimePicker](https://citry.dev/ui-library/components/time-picker/index.md): Select one canonical wall-clock time from a localized finite popup list. - [Transfer List](https://citry.dev/ui-library/components/transfer-list/index.md): Build an ordered chosen set with an accessible, form-capable Citry UI PickList. ## Citry UI: Layout - [Col and Row](https://citry.dev/ui-library/components/col-row/index.md): Arrange Citry UI content in predictable vertical columns and wrapping horizontal rows. - [Container and Grid](https://citry.dev/ui-library/components/container-grid/index.md): Constrain page content, build responsive equal grids, and add asymmetric spans when needed. - [Divider](https://citry.dev/ui-library/components/divider/index.md): Separate sections semantically or visually with Citry UI. - [ScrollArea](https://citry.dev/ui-library/components/scroll-area/index.md): Keep bounded content reachable through native scrolling. - [Splitter](https://citry.dev/ui-library/components/splitter/index.md): Resize two or more adjacent application panels. ## Citry UI: Data display - [Avatar](https://citry.dev/ui-library/components/avatar/index.md): Present image identities with explicit names and reliable fallbacks. - [Badge](https://citry.dev/ui-library/components/badge/index.md): Present compact status, category, count, and metadata labels with Citry UI. - [Card](https://citry.dev/ui-library/components/card/index.md): Group related content, media, metadata, and actions in a flexible Citry UI surface. - [Carousel](https://citry.dev/ui-library/components/carousel/index.md): Browse composed content with native Scroll Snap and explicit controls. - [Data Grid](https://citry.dev/ui-library/components/data-grid/index.md): Navigate, sort, select, edit, and server-window tabular application data with Citry UI. - [Icon](https://citry.dev/ui-library/components/icon/index.md): Render a consistent, accessible set of local SVG symbols with Citry UI Icon. - [Image](https://citry.dev/ui-library/components/image/index.md): Render native responsive images with stable geometry and explicit alternative text. - [Infinite Scroll](https://citry.dev/ui-library/components/infinite-scroll/index.md): Request more server-owned results automatically while retaining a real Load more fallback. - [List](https://citry.dev/ui-library/components/list/index.md): Compose semantic content, navigation, and action lists with Citry UI. - [Sortable](https://citry.dev/ui-library/components/sortable/index.md): Reorder server-rendered items with pointer, touch, or keyboard while preserving native form order. - [Table](https://citry.dev/ui-library/components/table/index.md): Present finite server-owned records in a styled native Table. - [Tag and TagGroup](https://citry.dev/ui-library/components/tag/index.md): Present descriptive, selectable, actionable, and removable Tag collections. - [Timeline](https://citry.dev/ui-library/components/timeline/index.md): Present histories, activity, milestones, and status sequences with Citry UI. - [Tree](https://citry.dev/ui-library/components/tree/index.md): Explore and select hierarchical application data. - [Tree Grid](https://citry.dev/ui-library/components/tree-grid/index.md): Navigate expandable and selectable hierarchical records in aligned columns. - [Virtual List](https://citry.dev/ui-library/components/virtual-list/index.md): Defer off-screen rendering or supply a true server-rendered collection window with Citry UI. ## Citry UI: Navigation - [Breadcrumbs](https://citry.dev/ui-library/components/breadcrumbs/index.md): Show hierarchical page location with semantic Citry UI Breadcrumbs. - [NavigationMenu](https://citry.dev/ui-library/components/navigation-menu/index.md): Compose native website navigation with rich disclosure panels. - [Pagination](https://citry.dev/ui-library/components/pagination/index.md): Navigate finite page sequences with native links or client-owned controls. - [Sidebar](https://citry.dev/ui-library/components/sidebar/index.md): Build persistent, rail, and collapsible application sidebars with Citry UI. - [Stepper](https://citry.dev/ui-library/components/stepper/index.md): Communicate and optionally navigate ordered workflow progress. - [Tabs](https://citry.dev/ui-library/components/tabs/index.md): Organize keyboard-accessible views with Citry UI Tabs. ## Citry UI: Feedback and status - [Alert](https://citry.dev/ui-library/components/alert/index.md): Present persistent feedback with clear intent, optional actions, and deliberate announcement urgency. - [Progress](https://citry.dev/ui-library/components/progress/index.md): Communicate determinate and indeterminate task progress with a native Citry UI progress element. - [Skeleton](https://citry.dev/ui-library/components/skeleton/index.md): Compose precise loading placeholders from visible primitives. - [Spinner](https://citry.dev/ui-library/components/spinner/index.md): Show compact unknown-duration activity with a labelled Citry UI Spinner. - [Toast](https://citry.dev/ui-library/components/toast/index.md): Deliver queued, timed application feedback with Citry UI. ## Citry UI: Overlays and disclosure - [Accordion](https://citry.dev/ui-library/components/accordion/index.md): Organize related sections with native headings, controlled expansion, stable panel content, and nested groups. - [AlertDialog](https://citry.dev/ui-library/components/alert-dialog/index.md): Ask for an immediate cancel-or-action decision in an urgent modal prompt. - [CommandPalette](https://citry.dev/ui-library/components/command-palette/index.md): Search and run grouped application commands in a modal dialog. - [ContextMenu](https://citry.dev/ui-library/components/context-menu/index.md): Offer target-relative application commands while preserving browser context actions. - [Dialog](https://citry.dev/ui-library/components/dialog/index.md): Build accessible native modal workflows with Citry UI Dialog. - [Disclosure](https://citry.dev/ui-library/components/disclosure/index.md): Reveal one independent block of supporting content. - [Drawer](https://citry.dev/ui-library/components/drawer/index.md): Build accessible modal side Drawers and Sheets with Citry UI. - [HoverCard](https://citry.dev/ui-library/components/hover-card/index.md): Preview supplementary content behind a link or control. - [Menu](https://citry.dev/ui-library/components/menu/index.md): Present commands, links, application choices, and nested command collections from one Button. - [Popover](https://citry.dev/ui-library/components/popover/index.md): Place accessible interactive content beside a Button with Citry UI Popover. - [Tooltip](https://citry.dev/ui-library/components/tooltip/index.md): Add accessible, noninteractive descriptions to focusable controls with Citry UI Tooltip. - [Tour](https://citry.dev/ui-library/components/tour/index.md): Build polished, target-aware product walkthroughs with Citry UI. ## Citry UI: Development - [Develop Citry UI](https://citry.dev/ui-library/development/index.md): Set up the repository to change Citry UI itself, find a component's files, run its tests and checks, and edit its templates in VS Code. ## IDE - [Overview](https://citry.dev/ide/index.md): Catch template mistakes as you type in your editor, or from the command line and CI, with the same checks Citry runs when it renders. ## IDE: Editors - [VS Code](https://citry.dev/ide/vscode/index.md): Get errors as you type, completion, go to definition, type checking, and formatting for Citry components in VS Code and its forks. - [PyCharm](https://citry.dev/ide/pycharm/index.md): Get Citry errors, completion, hover, and go to definition in PyCharm by connecting the Citry language server through the LSP4IJ plugin. ## IDE: Analysis - [Template linting](https://citry.dev/ide/template-linting/index.md): Catch template mistakes before the page renders, such as unknown names, typos in attributes, tags, events, and directives, invalid HTML, Vue errors, and server event arguments the server would reject. Choose how strict each check is. - [Diagnostics](https://citry.dev/ide/diagnostics/index.md): Look up a Citry error or warning code to see what went wrong, how to fix it, and which tools report it. ## Community - [People](https://citry.dev/community/people/index.md): The people who maintain, have shaped, and contribute to Citry. - [Extensions](https://citry.dev/community/extensions/index.md): Find independently maintained packages that connect Citry to frameworks and add cross-cutting behavior. - [UI libraries](https://citry.dev/community/ui-libraries/index.md): Find installable libraries of reusable Citry UI components. - [Getting help](https://citry.dev/community/help/index.md): Where to ask questions about Citry, how to search before posting, and where to report bugs and security issues. - [Contributing](https://citry.dev/community/contributing/index.md): How to get involved with citry - report bugs, send fixes, propose ideas, help others, and pick up your first issue. - [Code of conduct](https://citry.dev/community/code-of-conduct/index.md): Citry follows the Contributor Covenant to keep the community welcoming and harassment-free for everyone. - [Development](https://citry.dev/community/development/index.md): Set up citry locally, run the full check gate, rebuild the Rust extension, preview the docs site, and see how CI is layered. - [AI bot policy](https://citry.dev/community/ai-bot-policy/index.md): Which AI training and search crawlers may index the Citry documentation, and why the robots file allows them. - [License](https://citry.dev/community/license/index.md): Citry is free and open source, released under the MIT license. ## Blog - [All posts](https://citry.dev/blog/index.md): Project news, engineering stories, and more from the people building Citry. - [Citry 1.0.0: the Python web is getting safer, faster and smarter](https://citry.dev/blog/citry-1-0-0/index.md): Build interactive web apps in Python with typed components, fast pages and an editor that catches your mistakes, all from one Python codebase. - [The emSign certificate incident and Citry](https://citry.dev/blog/emsign-certificate-incident/index.md): What the eMudhra (emSign) certificate incident means for Citry users, what to update, and what we changed in Citry's own builds. - [Introducing Citry](https://citry.dev/blog/introducing-citry/index.md): Why I built a fully typed frontend framework for Python, and why you should use it too.