Content Section One
navdeep-singh/content-section-oneFreeBlock
A restrained principles section with a clear introduction and a responsive set of supporting ideas.
Install it
npx shadcn@latest add https://ui.navdeepsingh.dev/r/content-section-one.jsonSource
1'use client'23import type { ComponentType } from 'react'45import { DesignedForFocusIllustration } from '@/components/illustrations/DesignedForFocusIllustration'6import { FastByDefaultIllustration } from '@/components/illustrations/FastByDefaultIllustration'7import { FlexibleAtScaleIllustration } from '@/components/illustrations/FlexibleAtScaleIllustration'89type Principle = {10 title: string11 description: string12 illustration: ComponentType13}1415const principles: readonly Principle[] = [16 {17 title: 'Fast by default',18 description: 'Common actions stay immediate, predictable, and close to where work happens.',19 illustration: FastByDefaultIllustration,20 },21 {22 title: 'Designed for focus',23 description: 'Clear hierarchy and restrained interfaces keep attention on the current task.',24 illustration: DesignedForFocusIllustration,25 },26 {27 title: 'Flexible at scale',28 description: 'Start with simple workflows and add structure as your product and team evolve.',29 illustration: FlexibleAtScaleIllustration,30 },31]3233export default function ContentSectionOne() {34 return (35 <section className="overflow-hidden py-16 text-foreground md:py-24">36 <div className="mx-auto max-w-6xl px-5 sm:px-8">37 <div className="grid gap-8 pb-12 md:grid-cols-[1fr_0.7fr] md:items-end md:border-b">38 <h2 className="max-w-3xl text-3xl font-semibold tracking-tighter text-balance sm:text-4xl lg:text-5xl">39 Software should remove friction, not create more of it.40 </h2>4142 <p className="max-w-md text-base leading-7 text-muted-foreground md:justify-self-end">43 Every interaction is designed to make complex workflows feel direct, calm, and44 understandable.45 </p>46 </div>4748 <div className="-mx-5 [scrollbar-width:none] overflow-x-auto px-5 pt-8 pb-2 sm:-mx-8 sm:px-8 md:mx-0 md:overflow-visible md:px-0 md:pt-0 md:pb-0 [&::-webkit-scrollbar]:hidden">49 <div className="flex w-max gap-4 md:grid md:w-full md:grid-cols-3 md:gap-0 md:border-b">50 {principles.map((principle, index) => {51 const Illustration = principle.illustration5253 return (54 <article55 key={principle.title}56 className={[57 'w-[min(82vw,20rem)] shrink-0 rounded-lg border bg-card',58 'md:w-auto md:rounded-none md:border-0 md:bg-transparent',59 index > 0 ? 'md:border-l' : '',60// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from navdeep-singh
All 64 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Blog Section Oneblog-section-one | navdeep-singh | Blocks | Free | 1 dep | |
| Contact Section Fourcontact-section-four | navdeep-singh | Blocks | Free | no deps | |
| Contact Section Onecontact-section-one | navdeep-singh | Blocks | Free | 1 dep | |
| Contact Section Threecontact-section-three | navdeep-singh | Blocks | Free | no deps | |
| Contact Section Twocontact-section-two | navdeep-singh | Blocks | Free | no deps | |
| Content Section Fourcontent-section-four | navdeep-singh | Blocks | Free | 1 dep | |
| Content Section Threecontent-section-three | navdeep-singh | Blocks | Free | 2 deps | |
| Content Section Twocontent-section-two | navdeep-singh | Blocks | Free | 1 dep |
