Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Horizon Vision Statement About Block for React

A vision statement for a climate-data company as a horizon: the vision is the centred heading, and three stations on one hairline (Now, In three years, In ten years) each say what is true by then.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A vision statement for React with Base UI, written for Skyledger, a fictional emissions-accounting tool for finance teams. The vision is the section's heading, centred and large, opening with its first words muted: "Our vision is a world where any company's emissions can be checked as easily as its bank balance." Below it a band ruled from rail to rail carries a horizon: three stations sit on that one hairline, each a dot on the line (solid for now, with an inner dot for three years, hollow for ten) and a heading, "Now", "In three years", "In ten years", with a bold lead sentence and what is true by then. From lg the stations sit side by side with hairlines between them; below it the track turns vertical, with the dots down the start edge and the line running through them. The page's rails and top rule come from the Guides spine, and the block ends on the stations' text. It's built from Guides, with a CSS entrance and your theme's tokens for every colour. For about pages and investor updates that need a vision with a path, and a roadmap that counts in years ahead and never in dates.

FAQ

How do I change the stations?

Edit STATIONS at the top of the file: each has a when heading, a bold lead sentence, a detail sentence and a dot class that draws its dot. Keep three: from lg they sit in three columns, and the vision's heading is written for a three-column page. Give the dots as many classes as you like, but keep them hollow or filled in the foreground colour, never the primary one.

Why \

A date goes stale and turns a vision into a deadline someone has to defend. A distance from now stays true until someone edits it, and it reads the same for a reader a year from now. The heading is the term for each station, so the outline lists "Now", "In three years" and "In ten years".

How is the horizon read by a screen reader?

The stations are an ordered list, in time order, each an h3 followed by one paragraph. The track, the dots and the lines are decorative and hidden from assistive technology; the order of the list carries the meaning they draw.

How is the vertical track drawn on a phone?

Each station draws a short vertical line in its own box, from its dot to the next station's, so the track is continuous without a separate element or any script. The dots and the lines sit at the start edge, so in a right-to-left layout the track moves to the right with the text.

What moves, and what happens with reduced motion?

The heading and the horizon fade up once on load. With reduced motion they simply appear. The block has no state and no script, so it can render on the server.

How does it fit on a phone?

The heading steps down to text-3xl and the three stations stack, each with its dot and heading on one line and its text under it, joined by the vertical line. Nothing scrolls sideways at 320 pixels.

  • Pro

    Mission About

    Statements

    A mission statement for a home-care scheduling company: the mission in large type beside one supporting sentence, three pillars that each carry the figure they are checked by, and a founding line in relative time.

  • Pro

    A mission held up by four pillars for a civic-software company: cells that share their hairlines, each with its numeral, a sentence, three initiatives with shipped and in-progress marks, and a progress bar counted from the list.

  • Pro

    A company timeline drawn as one horizontal track: six milestones in relative time, each a cell of a ruled band with a dot on the rule, turning into a vertical rail on phones.

  • Pro

    A statement for a calendar app beside its rule applied: five proposals in a ruled log, each with the minutes a week it saves or costs, and a Shipped or Cut verdict computed from that number.

  • Pro

    Timeline Hero

    Updates and timelines

    A start-aligned hero with a headline, a Shine Button and an outline action over a closing band of four milestone rows on a vertical hairline, shipped, current and planned.

  • Pro

    A bold statement for a furniture marketplace: one sentence in display type with a phrase picked out by a drawing marker on a faded field of dots, and three one-word commitments in a band ruled from rail to rail.