Search

Search bills, members, committees and pages...

Blocks

Every block the site is built from: the home page's cards, the account home's tiles, the dashboards' cards, the bill page's blocks. Each one a real component, with its source, its data and its props.

Each block stands on the canvas at /workspace/blocks, where it can be sized, coloured and rearranged. Its page here carries the preview, the command that installs it, the source, and the routes it reads.

Registry

GovBlock’s parts install the way any shadcn registry’s do. Name it once in your components.json:

"registries": {
  "@44gov": "https://44gov.nysgpt.com/r/{name}.json"
}

Then take what you need. Anything an item depends on arrives with it.

npx shadcn@latest add @44gov/district-join

These are published today. The blocks below are not yet among them: they read the site’s own card frame and jurisdiction, which does not travel.

ItemKindWhat it is
@44gov/district-joinLibraryWho represents a point, answered by ray-casting the district files: Congress, both state chambers and the county at once.
@44gov/state-districtsLibraryEvery state legislative chamber with its rank, its boundary file and its district count — 102 chambers, 6,843 districts.
@44gov/state-fipsLibraryThe Census's two-digit state codes both ways.
@44gov/map-paletteLibraryA hue per key on the golden angle, the opacities that let washes stack, and the ramps for counts, money, heat and party split.
@44gov/map-boundsLibraryA bounding box grown over GeoJSON geometry, for flying a map to a feature.
@44gov/map-basemapLibraryOpenFreeMap's positron style, which needs no key.
@44gov/policy-filtersLibraryThe vocabulary the record is read through: state names, party labels, chamber names.
@44gov/policy-imageryLibraryWhich picture a jurisdiction, chamber or member gets, and which colour a party gets.
@44gov/use-localHookState that survives a reload, and reads correctly on the first server-rendered paint.
@44gov/sealsComponentA jurisdiction's flag chip, a chamber's seal, a member's portrait with its fallback, and a party dot.
@44gov/directory-searchComponentThe clearable search field a directory is filtered with.

Home

Analytics

Dashboards

Bill