# All files / src/components/molecules SocialActionsSection.tsx

0% Statements 0/59
0% Branches 0/1
0% Functions 0/1
0% Lines 0/59

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60

     import { Card } from '@/components/ui/card'
    import { Button } from '@/components/ui/button'
    import { Separator } from '@/components/ui/separator'
    import { Heart, ChatCircle, Share, DotsThree } from '@phosphor-icons/react'

    export function SocialActionsSection() {
      return (
        <section className="space-y-6">
          <div>
            <h2 className="text-3xl font-bold mb-2">Social Actions</h2>
            <p className="text-muted-foreground">
              Grouped interactive buttons for social features
            </p>
          </div>

          <Card className="p-6">
            <div className="space-y-6">
              <div className="flex items-center gap-2">
                <Button variant="ghost" size="sm">
                  <Heart className="mr-2" />
                  Like
                </Button>
                <Button variant="ghost" size="sm">
                  <ChatCircle className="mr-2" />
                  Comment
                </Button>
                <Button variant="ghost" size="sm">
                  <Share className="mr-2" />
                  Share
                </Button>
              </div>

              <Separator />

              <div className="flex items-center justify-between">
                <div className="flex items-center gap-4">
                  <Button variant="outline" size="sm">
                    <Heart weight="fill" className="text-destructive mr-2" />
                    <span className="text-foreground">256</span>
                  </Button>
                  <Button variant="outline" size="sm">
                    <ChatCircle className="mr-2" />
                    <span>42</span>
                  </Button>
                </div>
                <div className="flex items-center gap-2">
                  <Button variant="ghost" size="sm">
                    <Share />
                  </Button>
                  <Button variant="ghost" size="sm">
                    <DotsThree weight="bold" />
                  </Button>
                </div>
              </div>
            </div>
          </Card>
        </section>
      )
    }