Tessera UI APItessera-ui.com ↗
Access Tessera UI's Tailwind CSS component registry via API. List components by category and retrieve full HTML source for light and dark mode variants.
What is the Tessera UI API?
The Tessera UI API provides 2 endpoints for accessing an open-source Tailwind CSS component registry. Use list_components to retrieve every component in a category — including slug, title, variant count, and freshness flag — then call get_component with a slug to fetch the complete HTML source code for each variant, including both light and dark mode versions ready to render directly in a browser.
curl -X GET 'https://api.parse.bot/scraper/07147e9d-4dc5-476b-8be4-6ca71e7be9f9/list_components?category=application' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace tessera-ui-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Tessera UI SDK — browse components and fetch variant HTML."""
from parse_apis.tessera_ui_com_api import TesseraUI, Category, ComponentNotFound
client = TesseraUI()
# List application components, capped at 5 total items.
for summary in client.component_summaries.list(category=Category.APPLICATION, limit=5):
print(summary.title, f"({summary.variant_count} variants)", "updated" if summary.is_recently_updated else "")
# Drill into the first component's full detail via typed navigation.
first = client.component_summaries.list(category=Category.APPLICATION, limit=1).first()
if first is not None:
component = first.details()
print(component.title, "-", component.description[:80])
for variant in component.variants:
print(f" {variant.title}: {variant.description}")
# Point lookup by slug, with error handling for missing components.
try:
detail = client.components.get(slug="accordions")
print(detail.title, detail.variant_count, "variants")
except ComponentNotFound:
print("Component not found")
print("exercised: component_summaries.list / details / components.get")
List all components in a given category. Returns each component's slug, title, variant count, and whether it was recently updated. One round trip per call; no pagination needed as the full category is returned in a single response.
| Param | Type | Description |
|---|---|---|
| category | string | Component category to list. |
{
"type": "object",
"fields": {
"total": "integer — number of components in the category",
"category": "string — the queried category slug",
"components": "array of component summary objects with slug, title, category, variant_count, is_recently_updated, url"
},
"sample": {
"data": {
"total": 466,
"category": "application",
"components": [
{
"url": "https://www.tessera-ui.com/components/application/error-page/",
"slug": "error-page",
"title": "404 / Error Page",
"category": "application",
"variant_count": 4,
"is_recently_updated": false
},
{
"url": "https://www.tessera-ui.com/components/application/accordions/",
"slug": "accordions",
"title": "Accordions",
"category": "application",
"variant_count": 10,
"is_recently_updated": true
}
]
},
"status": "success"
}
}About the Tessera UI API
Browsing Components by Category
The list_components endpoint accepts an optional category string and returns the full set of components in that category in a single response — no pagination required. Each item in the components array includes a slug, title, category, variant_count, and an is_recently_updated boolean that flags components modified recently. The url field points to the canonical page on tessera-ui.com for reference.
Retrieving Full Component HTML
Once you have a slug from list_components, pass it to get_component to retrieve the complete component record. The variants array is the core payload: each variant object carries an id, title, description, html_code, and dark_html_code — both of which are full-page HTML documents that can be rendered directly without additional assembly. The top-level response also includes a variant_count, a description of the component's purpose, and the same slug, category, and url fields for cross-referencing.
Coverage and Data Shape
The registry is organized around named categories (passed as the category parameter to both endpoints). Components such as accordions and alert dialogs are accessible by slug. Because get_component returns the raw HTML for every variant, the response is suitable for automated UI testing, design tooling, documentation generation, or seeding a local component library without any manual copy-paste from the source site.
The Tessera UI API is a managed, monitored endpoint for tessera-ui.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when tessera-ui.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official tessera-ui.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Seed a local Tailwind CSS component library by bulk-fetching HTML from all variants in a category
- Automate visual regression tests by pulling fresh
html_codeanddark_html_codeon each CI run - Build a component search tool that indexes
titleanddescriptionfields across all categories - Track recently added or updated components using the
is_recently_updatedflag inlist_components - Generate static documentation pages by rendering variant HTML directly from
get_componentresponses - Audit variant counts across the registry by summing
variant_countvalues returned fromlist_components
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Tessera UI have an official developer API?+
What does `get_component` return for each variant?+
variants array includes an id, title, description, html_code (light mode), and dark_html_code (dark mode). Both HTML fields are complete page documents and can be rendered as-is without additional markup.Does `list_components` require a category parameter?+
category parameter is optional. When omitted, the endpoint may return a default set. Passing a specific category slug returns all components scoped to that category in one response with a total count and the full components array.Can I search for components by keyword or filter by variant count?+
variant_count. You can fork this API on Parse and revise it to add a search or filter endpoint.Does the API expose component changelog history or version metadata beyond the recently-updated flag?+
is_recently_updated boolean on each component summary. Detailed changelog entries or version timestamps are not part of the response. You can fork this API on Parse and revise it to add a changelog or versioning endpoint if that data becomes available on the source.