Components
Searchastronomic.dev
Components
Every Astronomic UI component, with when to use it.
- Parts
- 107
- Presets
- 6
- Modes
- Light and dark
Static: no JavaScriptInteractive: uses JavaScript
Actions
4- ButtonFreeStatic · componentFor the main action on a page or in a form, and for links that should look like one.
- ModeToggleFreeInteractive · componentIn the navbar, to let a reader switch between light and dark; with nothing chosen the page follows their system.
- MotionPauseFreeInteractive · componentFor the one Pause motion button a page with moving parts needs: it stops every marquee and autoplaying video for the visit. Put it in the first marquee.
- SaveButtonFreeInteractive · componentTo let a reader keep a listing in a list in their own browser, with no account, such as Saved homes.
Forms
23- AreaCheckProInteractive · componentFor a service area: type a ZIP code and see yes, with a link to that town's page, or not yet. With no script, a link to your areas page.
- FieldFreeStatic · componentAround every form control, for its label, hint and error message.
- FilterBarFreeInteractive · componentFor a row of filters over a list of homes or places, that scrolls sideways on a phone.
- FilterChipsFreeStatic · componentFor the active filters under the bar, each a chip that removes it.
- FilterChoiceFreeInteractive · componentFor a choice filter: one select, or option chips when several may be picked, such as home types.
- FilterRangeFreeInteractive · componentFor a range filter, such as a price with Min and Max, or beds with "3+".
- FiltersFreeInteractive · componentTo build your own search filters: a buy or rent switch, a text box, choices and ranges from your fields list, kept in the address bar.
- FilterSwitchFreeStatic · componentFor a two-part switch between modes, such as Buy and Rent, at the start of the filters.
- FilterTextFreeStatic · componentFor the filters' text box, such as a street or a neighborhood.
- FormFreeInteractive · componentTo build your own form that posts with no JavaScript: hidden fields, a spam trap, the send button and an optional in-page status. MessageForm and SignupForm are built on it.
- FormStatusFreeStatic · componentFor the line that says whether a form sent, read out by screen readers. Form uses it for you.
- InputFreeStatic · componentFor a single line of text in a form, like a name or an email address.
- MessageFormFreeInteractive · componentFor a message form that posts to your endpoint with no JavaScript: name, email and message, plus company, phone or a topic if you ask.
- PopoverFreeInteractive · componentTo keep a set of choices one click away, like the home types or a price range in a filter bar: a button that opens a small panel over the page.
- PopoverGroupFreeStatic · componentTo name a set of options in a Popover's panel, like Min and Max.
- PopoverOptionFreeStatic · componentFor one choice in a Popover's panel: a real checkbox or radio, as a full-width row.
- QuotePickerProStatic · componentFor a hero or a sidebar: tick the jobs you need and start a quote with them ticked. A plain form that works with no script.
- QuoteStepProStatic · componentFor one step of a QuoteSteps form: a group of fields named by its heading. QuoteSteps shows one at a time.
- QuoteStepsProInteractive · componentFor a longer quote form: the same form in steps, with Next and Back, that checks each step and still works as one long form with no script.
- ResultsHeadFreeStatic · componentFor the heading over search results, with the live count and the sort.
- SelectFreeStatic · componentFor one choice from a short list in a form, with the kit's control look.
- SignupFormFreeInteractive · componentFor an email signup that posts to your newsletter provider with no JavaScript, such as Buttondown or Mailchimp.
- TextareaFreeStatic · componentFor longer answers in a form, like a project brief.
Navigation
29- AnnouncementProInteractive · componentTo build your own announcement bar: one short message above the header, with a link, an optional countdown and a close button. For a ready layout, use AnnouncementText, AnnouncementAction, AnnouncementCountdown or AnnouncementSplit.
- AnnouncementActionProInteractive · componentFor a sale or launch with one clear action: the message and a small button, side by side when there is room.
- AnnouncementCountdownProInteractive · componentFor a sale with a deadline: the message, the time left as small boxes, and a link.
- AnnouncementSplitProInteractive · componentFor a wide bar: a label at the start, the message in the middle, and the action with the time left at the end.
- AnnouncementTextProInteractive · componentFor a short notice above the header: one centered line with a link, and the end date or a countdown in words.
- AreaChipsFreeStatic · componentFor the towns you serve as a row of links, each to its own page.
- CallBarProInteractive · componentOn phones, a bar at the bottom with Call and Get a quote, which never covers the page's own content.
- FilterNavFreeStatic · componentTo switch between groups of a list, like work by service.
- FooterFreeStatic · componentAt the bottom of every page, for secondary links, contact details and social links.
- FooterCenteredFreeStatic · componentFor a short page or a portfolio: the brand, the links, social links and the copyright line, centered.
- FooterColumnsFreeStatic · componentFor a site with many pages: the brand and contact details beside columns of links under headings.
- FooterSimpleFreeStatic · componentFor a small site: the brand, a few links and the copyright line in one row.
- FooterWordmarkProInteractive · componentTo close every page on a dark panel: a last call to action, link columns, your details and your name in giant letters across the width.
- MobileMenuFreeInteractive · componentOn small screens, for the main links in a panel that slides in. Navbar uses it for you.
- NavbarFreeInteractive · componentTo build your own navbar layout: the brand, the links, the actions and utilities, with the fold into a menu, sticky and floating. For a ready layout, use NavbarSimple, NavbarCentered, NavbarStacked or NavbarBrandCenter.
- NavbarBrandCenterFreeInteractive · componentAt the top of a brand-led site, such as a shop or a studio: the links at the start, the brand in the middle, the actions at the end.
- NavbarCenteredFreeInteractive · componentAt the top of every page, when the links are the point: the brand at the start, the links centered, the actions at the end.
- NavbarSimpleFreeInteractive · componentAt the top of every page: the brand, the links right after it, and the actions at the end.
- NavbarStackedFreeInteractive · componentAt the top of a site with many sections: the brand and the actions on top, the links on a row of their own under them.
- PaginationFreeStatic · componentTo move through a long list split over pages, like the journal.
- PhoneLinkFreeStatic · componentFor a phone number people tap to call, such as in the header: the label over the number, or an icon on a phone.
- SearchFreeInteractive · componentTo build your own search dialog: the search box, type tabs, filters and grouped results over the page, on the search package's index. For a ready layout, use SearchClassic.
- SearchButtonFreeStatic · componentTo open the search from a header or a page: an icon button, or a field with words and the shortcut. A real link to your search page without JavaScript.
- SearchClassicFreeInteractive · componentThe classic site search: a panel near the top of the screen, results under their type, a page's matching sections under it. Full screen on a phone.
- SearchPageFreeInteractive · componentFor your /search page: a search box, type tabs, filters with counts and every result as a link with its matching sections, the query kept in the address bar.
- SeriesListFreeStatic · componentBeside or under a post in a series: every part in order, with this one marked.
- SeriesNavFreeStatic · componentTo build your own series navigation: the series name, where this post sits in it, and the other parts. For a ready layout, use SeriesList or SeriesPager.
- SeriesPagerFreeStatic · componentAt the end of a post in a series: links to the part before and the part after.
- TabsProInteractive · componentTo show one of a few short, related texts at a time, like the stages of a project, without a long page.
Data display
44- AuthorBoxFreeStatic · componentAt the end of a post or on an author page: the writer's photo, name, role, a short bio and their links.
- AvatarFreeStatic · componentTo show a person next to their name, with initials when there is no photo.
- BeforeAfterProInteractive · componentTo show a job's before and after photos: drag or use the arrow keys to compare. With no script, the two photos sit side by side.
- BentoTileProStatic · componentFor one tile in a Bento section: its size, an icon, title and text, a dark or accent fill, a photo above, beside or behind the text, any visual you add, and a link or button. The bento recipes use it for you.
- BylineFreeStatic · componentUnder a post's title: who wrote it, with their photo, the date and the reading time.
- CardFreeStatic · componentTo group a short piece of content, like a service, a plan or a team member.
- CardMediaFreeStatic · componentFor a list of pages with a picture each, like projects or articles: the image on top, then the title and a line.
- CardOverlayFreeStatic · componentFor a short title on a large picture, like a featured project or a place, with the text on the dimmed image.
- CardResultProStatic · componentFor case studies and other proof: a photo, a short label, the title and one result shown large, like “−34% lead time”.
- CardSideFreeStatic · componentFor one or two featured items with room to spare: the image beside the text, stacked in a narrow column.
- ContactInfoFreeStatic · componentFor your email, phone, address and business hours as a short list of labeled details.
- CredentialsListFreeStatic · componentTo build your own list of licenses, insurance and warranties: each row shows only when it is filled.
- CredentialsRowsFreeStatic · componentFor a full credentials list: ruled rows with a check, for licensed trades.
- CredentialsStripFreeStatic · componentFor proof near the top of a page: license, insurance, warranty and years in a row of columns.
- DescriptionListFreeStatic · componentFor short facts as label and value pairs, like client, year and services.
- EyebrowFreeStatic · componentFor a short label above a heading, like the topic of a section, with an optional small icon.
- FactStripFreeStatic · componentA ruled strip of a listing's facts, such as beds, baths and square feet; a missing fact leaves no empty cell.
- FaqItemProStatic · componentFor one question and its answer in a Faq section. The faq recipes use it for you.
- FeatureItemFreeStatic · componentFor one feature in a Features list: its title, a short text, and an icon or image. The feature recipes use it for you.
- GuaranteeStripFreeStatic · componentFor a short row of promises with checks and one button, such as fixed price, on time and clean up, on the accent color.
- IconFreeStatic · componentFor a small icon next to a label or in a list, at one of three sizes, with the same line weight everywhere.
- LightboxFreeInteractive · componentTo open images large over the page, with a caption and prev/next. Works on the image links you already have.
- LightboxBarFreeInteractive · componentFor photo-heavy pages: one bar at the bottom with the caption and every control, in thumb reach on a phone.
- LightboxCenteredFreeInteractive · componentThe classic: the image in the middle, prev and next at its sides, the caption under it.
- ListingCardFreeInteractive · componentTo build your own card for a listing: a photo with a status and Save, the price, title, address and a strip of facts from your fields list.
- ListingCardInsetFreeInteractive · componentFor homes or places in a grid: the photo inset in a card, with the price and the facts under it.
- ListingResultsProInteractive · componentFor a search page: the results list, paged, that follows your filters and works as a plain list with no script.
- ListingRowFreeInteractive · componentThe same listing as a wide row, for a list beside a map or a short list on a page.
- MapCardProStatic · componentFor one listing's card over a map pin: its photo, price, address and facts, and a link to the listing. MapView opens it for you.
- MapSplitProInteractive · componentFor a search page: the list and the map side by side, with a Show map button on a phone.
- MapViewProInteractive · componentFor homes or places on a map with price pins that open a small card, loaded only when it comes into view.
- MediaFreeStatic · componentFor a photo or picture in a fixed shape, like a project image, with an optional caption. Round, or with one corner cut.
- MediaShapeProInteractive · componentFor a photo with a shaped frame: a curved cutout where a badge, a button or a figure sits, or an arch, ticket or blob shape.
- PostCardFreeStatic · componentFor one post as a card: its picture, the topic and date, the title, a short excerpt and the author. The post recipes use it for you.
- PostRowFreeStatic · componentFor one post as a row: its date, title, excerpt and topic. PostList uses it for you.
- PricingPlanProStatic · componentFor one plan in a Pricing section: its name, price, features and action, on a card. The pricing recipes use it for you.
- ProseFreeStatic · componentFor long text from the editor, like articles and case studies.
- ServiceItemProStatic · componentFor one service in a ServicesList: its number, title, text, photo, tags and a link. The services recipes use it for you.
- StepItemFreeStatic · componentFor one step in a Steps list: its number, title, phase and text. The steps recipes use it for you.
- StoryRailCardProStatic · componentFor one story in a StoryRail: its photo, topic, date, title and summary. StoryRail uses it for you.
- TeamMemberFreeStatic · componentFor one person in a Team section: their photo, name, role, a short bio and links. The team recipes use it for you.
- TestimonialFreeStatic · componentFor one quote in a Testimonials section: the words, the person, an avatar and a logo. The testimonial recipes use it for you.
- VideoMediaFreeInteractive · componentFor a short silent loop or a showreel still: a video in a fixed shape with its poster, a play button, and no autoplay for readers who ask for less motion.
- WorkCardProStatic · componentFor one project in a Work section: its photo, year, title, client, services and summary. The work recipes use it for you.
Layout
6- ContainerFreeStatic · componentTo keep page content to a readable width with even side padding, centered on the page.
- GridFreeStatic · componentTo set items in even columns, like cards or logos, that drop to fewer columns on small screens.
- PanelFreeStatic · componentTo set a block of the page apart: an inset, rounded panel on a light fill, a dark fill, or a photo.
- SectionFreeStatic · componentFor each band of a page, so every part of the page has the same space above and below, on the page or on a light gray band.
- SplitFreeStatic · componentTo set two blocks side by side, like a text and an image, stacked when there is no room.
- StackFreeStatic · componentTo set blocks one under another with even space between them, like a heading, a text and a button.